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

Is connection_timeout honoured? #593

Open
dvarrazzo opened this issue Oct 21, 2023 · 0 comments
Open

Is connection_timeout honoured? #593

dvarrazzo opened this issue Oct 21, 2023 · 0 comments

Comments

@dvarrazzo
Copy link
Contributor

According to rabbitmq documentation, the connection string allows a connection_timeout parameter. However, testing it, it doesn't seem honoured.

What works, instead is the timeout parameter of connect_robust().

This makes so that, in order to configure the timeout, it takes extra code: maybe to add a new configuration parameter to an app, maybe code to extract the timeout from the connection string.

Shouldn't the timeout in the connection string be honoured?

(note: in psycopg 3 we had a similar issue and had to handle the connection timeout manually, but we do take it from the connection info).

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

No branches or pull requests

1 participant