fix: prevent session pool deadlock on acquire cancellation

Replace is_creating mutex with atomic flag and RAII guard to ensure
proper cleanup when acquire() futures are cancelled mid-creation,
preventing permanent deadlock for subsequent callers.
This commit is contained in:
2026-01-30 20:19:10 -06:00
parent 1954166db6
commit 5d7d60cd96
5 changed files with 119 additions and 64 deletions
+1
View File
@@ -1,3 +1,4 @@
#[allow(dead_code)]
mod helpers;
use banner::data::batch::batch_upsert_courses;