blob: 317aec90f449302da106c90b6ebaa9b08875f49b (
plain)
1
2
3
4
5
6
7
8
9
10
|
### Job lifecycle
There are several boltdb buckets:
1. `PushBucket` - used for pushed jobs via RPC.
2. `InQueueBucket` - when the job consumed from the `PushBucket`, in the same transaction, it copied into the priority queue and
get into the `InQueueBucket` waiting to acknowledgement.
3. `DelayBucket` - used for delayed jobs. RFC3339 used as a timestamp to track delay expiration.
``
|