Skip to content

Commit 0f193d3

Browse files
committed
change readme for pop api of timeout query
1 parent f01b960 commit 0f193d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ body: {"id": "myid1","delay":10, "ttr":4, "body":"body"}
7272
````
7373

7474
````http request
75-
// Pop job
76-
GET 127.0.0.1:8000/topic/mytopic/job
75+
// Pop job (timeout: seconds)
76+
GET 127.0.0.1:8000/topic/mytopic/job?timeout=5
7777
7878
// response
7979
{

README_ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ body: {"id": "myid1","delay":10, "ttr":4, "body":"body"}
6767
````
6868

6969
````http request
70-
// Pop job
71-
GET 127.0.0.1:8000/topic/mytopic/job
70+
// Pop job (timeout: 秒)
71+
GET 127.0.0.1:8000/topic/mytopic/job?timeout=5
7272
7373
// response
7474
{

0 commit comments

Comments
 (0)