Files
dify/api/tests/unit_tests
L1nSn0w dedf5d171a feat(api): implement heartbeat mechanism for database migration lock
- Added a heartbeat function to renew the Redis lock during database migrations, preventing long blockages from crashed processes.
- Updated the upgrade_db command to utilize the new locking mechanism with a configurable TTL.
- Removed the deprecated MIGRATION_LOCK_TTL from DeploymentConfig and related files.
- Enhanced unit tests to cover the new lock renewal behavior and error handling during migrations.
2026-02-13 18:58:51 +08:00
..
2026-02-09 14:57:23 +08:00
2026-02-09 14:57:23 +08:00
2024-04-08 18:51:46 +08:00