Skip to content

Commit 78be128

Browse files
committed
custom/conf/app.example.ini: Remove queue section
docs/content/administration/config-cheat-sheet.en-us.md: Remove task section
1 parent 3ba244f commit 78be128

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

custom/conf/app.example.ini

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,44 +1431,6 @@ LEVEL = Info
14311431
;;
14321432
;MAX_FILE_SIZE = 1048576
14331433

1434-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1435-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1436-
;[queue]
1437-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1438-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1439-
;;
1440-
;; Specific queues can be individually configured with [queue.name]. [queue] provides defaults
1441-
;; ([queue.issue_indexer] is special due to the old configuration described above)
1442-
;;
1443-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1444-
;;
1445-
;; General queue queue type, currently support: persistable-channel, channel, level, redis, dummy
1446-
;; default to persistable-channel
1447-
;TYPE = persistable-channel
1448-
;;
1449-
;; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
1450-
;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
1451-
;;
1452-
;; Default queue length before a channel queue will block
1453-
;LENGTH = 100000
1454-
;;
1455-
;; Batch size to send for batched queues
1456-
;BATCH_LENGTH = 20
1457-
;;
1458-
;; Connection string for redis queues this will store the redis or redis-cluster connection string.
1459-
;; When `TYPE` is `persistable-channel`, this provides a directory for the underlying leveldb
1460-
;; or additional options of the form `leveldb://path/to/db?option=value&....`, and will override `DATADIR`.
1461-
;CONN_STR = "redis://127.0.0.1:6379/0"
1462-
;;
1463-
;; Provides the suffix of the default redis/disk queue name - specific queues can be overridden within in their [queue.name] sections.
1464-
;QUEUE_NAME = "_queue"
1465-
;;
1466-
;; Provides the suffix of the default redis/disk unique queue set name - specific queues can be overridden within in their [queue.name] sections.
1467-
;SET_NAME = "_unique"
1468-
;;
1469-
;; Maximum number of worker go-routines for the queue. Default value is "CpuNum/2" clipped to between 1 and 10.
1470-
;MAX_WORKERS = ; (dynamic)
1471-
14721434
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14731435
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14741436
;[admin]

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,14 +1198,6 @@ in this mapping or the filetype using heuristics.
11981198

11991199
- `DEFAULT_UI_LOCATION`: Default location of time on the UI, so that we can display correct user's time on UI. i.e. Asia/Shanghai
12001200

1201-
## Task (`task`)
1202-
1203-
Task queue configuration has been moved to `queue.task`. However, the below configuration values are kept for backwards compatibility:
1204-
1205-
- `QUEUE_TYPE`: **channel**: Task queue type, could be `channel` or `redis`.
1206-
- `QUEUE_LENGTH`: **1000**: Task queue length, available only when `QUEUE_TYPE` is `channel`.
1207-
- `QUEUE_CONN_STR`: **redis://127.0.0.1:6379/0**: Task queue connection string, available only when `QUEUE_TYPE` is `redis`. If redis needs a password, use `redis://[email protected]:6379/0` or `redis+cluster://[email protected]:6379/0`.
1208-
12091201
## Migrations (`migrations`)
12101202

12111203
- `MAX_ATTEMPTS`: **3**: Max attempts per http/https request on migrations.

0 commit comments

Comments
 (0)