--- title: "[bojemoi] feat(uzi): add distributed lock for multi-worker support" date: 2026-06-19T10:03:58+02:00 draft: false tags: ["commit", "bojemoi", "main"] categories: ["Git Activity"] summary: "Commit 53255d0 par Betty dans bojemoi" author: "Betty" --- ## Commit `53255d0` | | | |---|---| | **Repository** | bojemoi | | **Branch** | `main` | | **Author** | Betty | | **Hash** | `53255d088b3d34f961f67f07fdb4c43ffbd752f5` | ### Description - uzi_scan_log: add locked_at column, status='running' for in-progress scans - pick_next_host(): exclude 'running' hosts + atomic INSERT lock (ON CONFLICT DO NOTHING) - ensure_uzi_scan_log(): migrate locked_at column, clean stale locks >2h - Stack: scale uzi-service to 3 replicas Multiple UZI workers can now run concurrently without scanning the same target. Co-Authored-By: Claude Sonnet 4.6 ### Files Changed ``` M borodino/thearm_uzi M stack/40-service-borodino.yml ``` ### Diff Summary ``` borodino/thearm_uzi | 30 +++++++++++++++++++++++++++--- stack/40-service-borodino.yml | 2 +- 2 files changed, 28 insertions(+), 4 deletions(-) ```