Skip to content

Commit

Permalink
docs(subscription): add mention of auto-leasing (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop authored and stephenplusplus committed Apr 4, 2018
1 parent cad6df3 commit 79e8250
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ var MAX_ACK_IDS_PER_REQUEST = 3000;
* time. You can fine tune this value by adjusting the
* `options.flowControl.maxMessages` option.
*
* Subscription objects handle ack management, by automatically extending the
* ack deadline while the message is being processed, to then issue the ack or
* nack of such message when the processing is done. **Note:** message
* redelivery is still possible.
*
* @class
*
* @param {PubSub} pubsub PubSub object.
Expand Down

0 comments on commit 79e8250

Please sign in to comment.