diff --git a/jetstream/nats_api_reference.md b/jetstream/nats_api_reference.md index 4c7fcfe..325c876 100644 --- a/jetstream/nats_api_reference.md +++ b/jetstream/nats_api_reference.md @@ -185,12 +185,12 @@ This is often not desired, pull consumers support a mode where a JSON document i ```javascript { - "expires": "2020-11-10T12:41:00.075933464Z", + "expires": 7000000000, "batch": 10, } ``` -This requests 10 messages and asks the server to keep this request until the specific `expires` time, this is useful when you poll the server frequently and do not want the pull requests to accumulate on the server. Set the expire time to now + your poll frequency. +This requests 10 messages and asks the server to keep this request for 7 seconds, this is useful when you poll the server frequently and do not want the pull requests to accumulate on the server. Set the expire time to now + your poll frequency. ```javascript {