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

feat: make pendings job processing resilient to connection loss #140

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

acaloiaro
Copy link
Owner

Instead of passing a single connection into the pending job processor,
use the connection pool to pull a new connection on every loop, releasing
it after every use.

Copy link
Owner Author

@acaloiaro acaloiaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@acaloiaro acaloiaro force-pushed the make-pending-job-process-resilient-to-conn-loss branch from 9dd2ae3 to d220a14 Compare January 26, 2025 16:16
Instead of passing a single connection into the pending job processor,
use the connection pool to pull a new connection on every loop, releasing
it after every use.
@acaloiaro acaloiaro force-pushed the make-pending-job-process-resilient-to-conn-loss branch from d220a14 to d142f34 Compare January 26, 2025 19:58
@acaloiaro acaloiaro merged commit 08ccf0f into main Jan 27, 2025
2 checks passed
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