Files
dify/api/libs
L1nSn0w 3cdc9c119e refactor(api): enhance DbMigrationAutoRenewLock acquisition logic
- Added a check to prevent double acquisition of the DB migration lock, raising an error if an attempt is made to acquire it while already held.
- Implemented logic to reuse the lock object if it has already been created, improving efficiency and clarity in lock management.
- Reset the lock object to None upon release to ensure proper state management.

(cherry picked from commit d4b102d3c8a473c4fd6409dba7c198289bb5f921)
2026-02-14 16:28:38 +08:00
..
2026-01-27 20:19:39 +09:00
2025-09-22 23:07:09 +08:00
2025-09-22 23:07:09 +08:00
2024-10-21 10:03:40 +08:00
2025-10-21 11:26:58 +08:00
2025-09-18 12:49:10 +08:00