Andrey Antukh 22b6b6df57 🐛 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
2026-08-03 18:26:47 +02:00
..
2024-10-22 20:23:38 +02:00
2024-10-22 20:23:38 +02:00