summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-01-23 21:17:56 +0100
committerValery Piashchynski <[email protected]>2023-01-23 21:18:14 +0100
commit36e6fd3b8bf879ccdf66221dda150024768554e1 (patch)
treea270490db6229631b0614327a2dd6a9bd7b175d1 /.rr.yaml
parent5c99331459f0f4a617bab89e06cfbfe4183ad1ad (diff)
fix: update `boltdb` section
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml26
1 files changed, 11 insertions, 15 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 1fba6f7f..9a2cd904 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -1102,15 +1102,6 @@ reload:
nats:
addr: "demo.nats.io"
-# Boltdb jobs driver
-#
-# This option is required to use boltdb driver
-boltdb:
- # Permissions for hte boltdb database file
- #
- # This option is optional. Default: 0777
- permissions: 0777
-
# AMQP jobs driver
#
# This option is required to use AMQP driver
@@ -1258,20 +1249,25 @@ jobs:
#
# Should not be empty
config:
- # BoldDB file to create or DB to use
+ # Number of job to prefetch from the driver.
#
- # Default: "rr.db"
- file: "path/to/rr.db"
+ # Default: 100_000.
+ prefetch: 10000
# Pipeline priority
#
# If the job has priority set to 0, it will inherit the pipeline's priority. Default: 10.
priority: 10
- # Number of job to prefetch from the driver.
+ # BoldDB file to create or DB to use
#
- # Default: 100_000.
- prefetch: 10000
+ # Default: "rr.db"
+ file: "path/to/rr.db"
+
+ # Permissions for the boltdb database file
+ #
+ # This option is optional. Default: 0777
+ permissions: 0777
test-local-2:
# Driver name