Andrey Antukh 8d3c9410b9 🐛 Add concurrency limit to import-binfile RPC handler
Apply climit with 4 global permits and 1 per-profile permit (queue 2)
to prevent connection pool exhaustion from concurrent imports. Each
import holds a DB connection for its entire duration with idle
transaction timeout disabled, so unbounded concurrency could exhaust
the pool (default 60 connections).

AI-assisted-by: mimo-v2.5-pro
2026-08-08 21:28:10 +02:00
..
2024-10-22 20:23:38 +02:00
2024-10-22 20:23:38 +02:00