diff options
author | Kyle D <kdumontnu@gmail.com> | 2021-05-28 11:33:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 13:33:52 -0400 |
commit | a5d8f58341bd2b93829cde6228bd69c0f2225bf2 (patch) | |
tree | 90f118ff195977c5a19d39d96b9236b837b70dc8 /custom | |
parent | e39e79d3ffc22ba868e03a824e7667594f4ad7d4 (diff) | |
download | gitea-a5d8f58341bd2b93829cde6228bd69c0f2225bf2.tar.gz gitea-a5d8f58341bd2b93829cde6228bd69c0f2225bf2.zip |
Update queue workers for v1.15 (#15999)
* Update queue workers for v1.15
* update app.example.ini
* update re queue path
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index f37157c3b1..2f3fc1f1d8 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1145,8 +1145,8 @@ PATH = ;; ;; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved. ;; This can be overridden by `ISSUE_INDEXER_QUEUE_CONN_STR`. -;; default is indexers/issues.queue -;ISSUE_INDEXER_QUEUE_DIR = indexers/issues.queue +;; default is queues/common
+;ISSUE_INDEXER_QUEUE_DIR = queues/common
;; ;; When `ISSUE_INDEXER_QUEUE_TYPE` is `redis`, this will store the redis connection string. ;; When `ISSUE_INDEXER_QUEUE_TYPE` is `levelqueue`, this is a directory or additional options of @@ -1201,7 +1201,7 @@ PATH = ;; default to persistable-channel ;TYPE = persistable-channel ;; -;; data-dir for storing persistable queues and level queues, individual queues will be named by their type +;; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
;DATADIR = queues/ ;; ;; Default queue length before a channel queue will block @@ -1231,7 +1231,7 @@ PATH = ;TIMEOUT = 15m30s ;; ;; Create a pool with this many workers -;WORKERS = 1 +;WORKERS = 0 ;; ;; Dynamically scale the worker pool to at this many workers ;MAX_WORKERS = 10 @@ -1243,7 +1243,7 @@ PATH = ;BOOST_TIMEOUT = 5m ;; ;; During a boost add BOOST_WORKERS -;BOOST_WORKERS = 5 +;BOOST_WORKERS = 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |