Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo #220

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobID, err := c.Publish("q1", []byte("hello"), 0, 3, 5)
### Consumer example

```
// Consume a job from the q1, if there's not job availble, wait until 12s passed (polling).
// Consume a job from the q1, if there's not job available, wait until 12s passed (polling).
// And if this consumer fail to ACK the job in 10s, the job can be retried by other consumers.
job, err := c.Consume("q1", 10, 12)
if err != nil {
Expand All @@ -39,7 +39,7 @@ if err != nil {
```

```$golang
// Consume 5 jobs from the q1, if there's not job availble, wait until 12s passed (polling).
// Consume 5 jobs from the q1, if there's not job available, wait until 12s passed (polling).
// If there are some jobs but not enough 5, return jobs as much as possible.
// And if this consumer fail to ACK any job in 10s, the job can be retried by other consumers.
jobs, err := c.BatchConsume("q1", 5, 10, 12)
Expand Down
Loading