Skip to content

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 2, 2025

  • Introduced run_migrations_with_lock function to manage database migrations with a Redis distributed lock, ensuring that only one instance runs migrations at a time.
  • Updated main.py to utilize the new migration function, enhancing startup reliability and preventing migration conflicts.
  • Added detailed logging for migration status and outcomes, improving visibility during the migration process.

- Introduced run_migrations_with_lock function to manage database migrations with a Redis distributed lock, ensuring that only one instance runs migrations at a time.
- Updated main.py to utilize the new migration function, enhancing startup reliability and preventing migration conflicts.
- Added detailed logging for migration status and outcomes, improving visibility during the migration process.
@atyrode atyrode merged commit b88811b into main May 2, 2025
1 check passed
@atyrode atyrode deleted the migration-runtime-fix branch May 2, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant