dify/api/tests/unit_tests/services/enterprise
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
..
__init__.py feat: inject traceparent in enterprise api (#30895) 2026-01-13 23:37:39 +09:00
test_enterprise_service.py refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration 2026-02-14 16:28:38 +08:00
test_traceparent_propagation.py feat: inject traceparent in enterprise api (#30895) 2026-01-13 23:37:39 +09:00