Files
dify/api/tests/unit_tests
L1nSn0w b4c1e1edea 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 14:52:26 +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