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

split timeout into read and write timeouts #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mente
Copy link
Contributor

@mente mente commented Jun 14, 2017

Sometimes you need to have a different timeouts for reads and writes. As an example when you might need higher timeout for long processing consumers and small write timeout for failing fast producers

I have kept backwards compatibility. Documentation update is actually missing, should I?

Sometimes you need to have a different timeouts for reads and writes. As an example when you might need higher timeout for long processing consumers and small write timeout for failing fast producers
@mente
Copy link
Contributor Author

mente commented Jun 25, 2017

Anything I can help here?

Copy link
Member

@Oliboy50 Oliboy50 left a comment

Choose a reason for hiding this comment

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

LGTM (thanks and sorry for keeping you waiting)

according to the amqp extension, the constructor accepts these params:

/* {{{ proto AMQPConnection::__construct([array optional])
 * The array can contain 'host', 'port', 'login', 'password', 'vhost', 'read_timeout', 'write_timeout', 'connect_timeout' and 'timeout' (deprecated) indexes
 */

so I wonder why did we set the heartbeat argument in the first place? 🤔

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.

2 participants