dify/api/configs
L1nSn0w afdd5b6c86 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.

(cherry picked from commit a3331c622435f9f215b95f6b0261f43ae56a9d9c)
2026-02-14 16:28:38 +08:00
..
deploy feat(api): implement heartbeat mechanism for database migration lock 2026-02-14 16:28:38 +08:00
enterprise chore: enhance configuration descriptions (#8624) 2024-09-22 13:38:41 +08:00
extra feat: add archive storage client and env config (#30422) 2025-12-31 16:14:46 +08:00
feature revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00
middleware revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00
observability feat: add otel endpoint config (#22492) 2025-07-16 18:24:17 +08:00
packaging fix: resolve typing errors in configs module (#25268) 2025-09-06 16:08:14 +08:00
remote_settings_sources more httpx (#25651) 2025-09-22 23:07:09 +08:00
__init__.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
app_config.py make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00