Skip to content

Add Retries with Timeout for RabbitMQ Connection Loss #31

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

Merged
merged 4 commits into from
Apr 14, 2025

Conversation

AS-AlStar
Copy link
Contributor

@AS-AlStar AS-AlStar commented Mar 10, 2025

  • Introduced new config attributes:
    • connection_reset_max_retries
    • connection_reset_timeout
    • connection_reset_exceptions
  • Implemented automatic reconnection on Bunny::ConnectionClosedError.
  • Added retry mechanism with configurable timeouts.

@AS-AlStar AS-AlStar force-pushed the reset-rabbit-connection branch 3 times, most recently from 6628a1d to 5dffa79 Compare March 11, 2025 08:11
@AS-AlStar AS-AlStar force-pushed the reset-rabbit-connection branch from 5dffa79 to bbfc13d Compare March 11, 2025 08:15
@AS-AlStar AS-AlStar requested a review from tycooon March 11, 2025 12:12
@tycooon tycooon requested review from 0exp and removed request for tycooon March 11, 2025 12:15
@AS-AlStar AS-AlStar force-pushed the reset-rabbit-connection branch from b657098 to 5014a82 Compare April 1, 2025 13:29
@AS-AlStar
Copy link
Contributor Author

Пока не мержим, понаблюдаем неделю-две и потом, если все ок - вмержим

@0exp 0exp merged commit 207c46c into master Apr 14, 2025
9 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.

3 participants