All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 5s
One-shot import of all bojemoi repo commits as Hugo posts. Each post includes metadata, files changed, and diff stats. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
909 B
Markdown
41 lines
909 B
Markdown
---
|
|
title: "Fix slow queries, connection leaks, and Dockerfile in zap-scanner"
|
|
date: 2026-02-07T22:05:53+01:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "fix"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit 1ef1051 par Betty — 2 fichier(s) modifié(s)"
|
|
author: "Betty"
|
|
---
|
|
|
|
## Commit `1ef1051`
|
|
|
|
| | |
|
|
|---|---|
|
|
| **Repository** | bojemoi |
|
|
| **Branch** | `main` |
|
|
| **Auteur** | Betty |
|
|
| **Hash** | `1ef1051421db788da1cb5de069f621a7e48c46c7` |
|
|
| **Date** | 2026-02-07 |
|
|
|
|
### Description
|
|
|
|
Replace ORDER BY random() with TABLESAMPLE SYSTEM() for host selection,
|
|
use cursor context managers to prevent leaks, add auto-reconnect for
|
|
stale connections, and fix missing && in Dockerfile.
|
|
|
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
|
|
### Fichiers modifiés
|
|
|
|
```
|
|
M oblast-1/Dockerfile.oblast-1
|
|
M oblast-1/zap_scanner.py
|
|
```
|
|
|
|
### Statistiques
|
|
|
|
```
|
|
2 files changed, 47 insertions(+), 36 deletions(-)
|
|
```
|