Skip to content

split timeout into read and write timeouts#42

Open
mente wants to merge 1 commit intoBedrockStreaming:masterfrom
mente:feature-write-timeout
Open

split timeout into read and write timeouts#42
mente wants to merge 1 commit intoBedrockStreaming:masterfrom
mente:feature-write-timeout

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