summaryrefslogtreecommitdiff
path: root/plugins/boltdb/doc/job_lifecycle.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/boltdb/doc/job_lifecycle.md')
-rw-r--r--plugins/boltdb/doc/job_lifecycle.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/boltdb/doc/job_lifecycle.md b/plugins/boltdb/doc/job_lifecycle.md
new file mode 100644
index 00000000..317aec90
--- /dev/null
+++ b/plugins/boltdb/doc/job_lifecycle.md
@@ -0,0 +1,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.
+
+``