Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/transport_activation #312

Merged
merged 1 commit into from
May 24, 2024

Conversation

tom-binary
Copy link
Contributor

At startup, we were not checking whether our transports (Redis, PostgreSQL etc.) were ready. This could cause early actions to fail due to objects not being defined or ready for queries.

To fix this, we run the ->start method on all transports and wait for it to respond before the rest of the command processing. This will cause early exit if there are connectivity issues, and removes the startup race condition.

@tom-binary tom-binary merged commit 711eefb into deriv-com:master May 24, 2024
1 check passed
@tom-binary tom-binary deleted the bugfix/transport_activation branch May 24, 2024 07:07
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