Skip to content

Modify message deadline/timeout by the natsgo client #962

Discussion options

You must be logged in to vote

This is set per consumer. However if you need more time for an individual message you can call m.Progress() which resets the timer. So if you have AckWait of 30s, and you know you need to take longer, calling ack.Progress() will reset the time to another 30s from when Progress() is called.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derekcollison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants