dify/api/tests
L1nSn0w 94603b5408 refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration
- Removed the manual heartbeat function for renewing the Redis lock during database migrations.
- Integrated AutoRenewRedisLock to handle lock renewal automatically, simplifying the upgrade_db command.
- Updated unit tests to reflect changes in lock handling and error management during migrations.

(cherry picked from commit 8814256eb5fa20b29e554264f3b659b027bc4c9a)
2026-02-14 16:28:38 +08:00
..
fixtures/workflow fix(api): defer streaming response until referenced variables are updated (#30832) 2026-01-12 16:23:18 +08:00
integration_tests fix: fix delete_draft_variables_batch cycle forever (#31934) 2026-02-04 19:42:50 +08:00
test_containers_integration_tests refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration 2026-02-14 16:28:38 +08:00
unit_tests refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration 2026-02-14 16:28:38 +08:00
__init__.py Initial commit 2023-05-15 08:51:32 +08:00