post: commit 5d9493b in bojemoi
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 4m21s

This commit is contained in:
grafana-watcher
2026-08-10 23:10:36 +02:00
committed by Betty
parent cc1d239abb
commit 6ad35890c5

View File

@@ -0,0 +1,42 @@
---
title: "[bojemoi] fix(zap): limiter le spider aux liens internes — prévention OOM"
date: 2026-08-10T23:10:36+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 5d9493b par grafana-watcher dans bojemoi"
author: "grafana-watcher"
---
## Commit `5d9493b`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | grafana-watcher |
| **Hash** | `5d9493b5951006d2afa59ffdc7ca51d0e80b8186` |
### Description
ZAP scrawlait les liens externes (ex: forum russe 80.93.50.222 → 7504 URLs
dont des domaines cyrilliques), causant une explosion mémoire → OOM kill (exit 137).
Ajout de maxChildren=20 et subtreeOnly=true dans zap_spider() pour restreindre
le crawl au sous-arbre de l'hôte cible uniquement.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
### Files Changed
```
M oblast-1/zap_scanner.py
```
### Diff Summary
```
oblast-1/zap_scanner.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
```