type
TaskClaim
A bounded SKIP LOCKED claim filter and lease.
Properties
| Property | Type | Description |
|---|---|---|
Limit | int | The Limit value. |
Queues | []string | The Queues value. |
Slugs | []string | The Slugs value. |
LeaseDuration | time.Duration | The LeaseDuration value. |
Full signature
type TaskClaim struct {
Limit int
Queues []string
Slugs []string
LeaseDuration time.Duration
}