I want to clarify and document the meaning of these terms for our APIs, presently I can't find anywhere where they are documented clearly.
The AMQP spec says: "Each peer has its own (independent) idle timeout. At connection open each peer communicates the maximum period between activity (frames) on the connection that it desires from its partner.The open frame carries the idletime-out field for this purpose. To avoid spurious timeouts, the value in idle- time-out SHOULD be half the peer’s actual timeout threshold." In other words: if I send you an "open" frame with idle-time-out=N that means *you* should not wait for longer than N milliseconds to send a frame to me. It does not mean *I* will close the connection after N milliseconds, I SHOULD be more patient and wait for N*2 ms to avoid closing prematurely due to minor timing wobbles. I think the choice of name is slightly ambiguous but the spec is clear on the semantics, so it's important to document it to remove the ambiguity. Anybody disagree? Cheers, Alan. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
