80 chars/line
This commit is contained in:
parent
b612b80f80
commit
df1af4f8cb
@ -38,7 +38,8 @@ Usage
|
||||
## Worker
|
||||
|
||||
```go
|
||||
// Limit number of concurrent jobs execution. Use worker.Unlimited (0) if you want no limitation.
|
||||
// Limit number of concurrent jobs execution.
|
||||
// Use worker.Unlimited (0) if you want no limitation.
|
||||
w := worker.New(worker.OneByOne)
|
||||
w.ErrHandler = func(e error) {
|
||||
log.Println(e)
|
||||
|
Loading…
Reference in New Issue
Block a user