@@ -51,6 +51,12 @@ RUN_MODE = ; prod
5151; REDIRECT_OTHER_PORT = false
5252; PORT_TO_REDIRECT = 80
5353; ;
54+ ; ; Timeout for any write to the connection. (Set to 0 to disable all timeouts.)
55+ ; PER_WRITE_TIMEOUT = 30s
56+ ; ;
57+ ; ; Timeout per Kb written to connections.
58+ ; PER_WRITE_PER_KB_TIMEOUT = 30s
59+ ; ;
5460; ; Permission for unix socket
5561; UNIX_SOCKET_PERMISSION = 666
5662; ;
@@ -144,6 +150,14 @@ RUN_MODE = ; prod
144150; ; Enable exposure of SSH clone URL to anonymous visitors, default is false
145151; SSH_EXPOSE_ANONYMOUS = false
146152; ;
153+ ; ; Timeout for any write to ssh connections. (Set to 0 to disable all timeouts.)
154+ ; ; Will default to the PER_WRITE_TIMEOUT.
155+ ; SSH_PER_WRITE_TIMEOUT = 30s
156+ ; ;
157+ ; ; Timeout per Kb written to ssh connections.
158+ ; ; Will default to the PER_WRITE_PER_KB_TIMEOUT.
159+ ; SSH_PER_WRITE_PER_KB_TIMEOUT = 30s
160+ ; ;
147161; ; Indicate whether to check minimum key size with corresponding type
148162; MINIMUM_KEY_SIZE_CHECK = false
149163; ;
@@ -1141,20 +1155,20 @@ PATH =
11411155; STARTUP_TIMEOUT = 30s
11421156; ;
11431157; ; Issue indexer queue, currently support: channel, levelqueue or redis, default is levelqueue (deprecated - use [queue.issue_indexer])
1144- ; ISSUE_INDEXER_QUEUE_TYPE = levelqueue
1158+ ; ISSUE_INDEXER_QUEUE_TYPE = levelqueue; **DEPRECATED** use settings in `[queue.issue_indexer]`.
11451159; ;
11461160; ; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved.
11471161; ; This can be overridden by `ISSUE_INDEXER_QUEUE_CONN_STR`.
1148- ; ; default is queues/common
1149- ; ISSUE_INDEXER_QUEUE_DIR = queues/common
1162+ ; ; default is queues/common
1163+ ; ISSUE_INDEXER_QUEUE_DIR = queues/common; **DEPRECATED** use settings in `[queue.issue_indexer]`.
11501164; ;
11511165; ; When `ISSUE_INDEXER_QUEUE_TYPE` is `redis`, this will store the redis connection string.
11521166; ; When `ISSUE_INDEXER_QUEUE_TYPE` is `levelqueue`, this is a directory or additional options of
11531167; ; the form `leveldb://path/to/db?option=value&....`, and overrides `ISSUE_INDEXER_QUEUE_DIR`.
1154- ; ISSUE_INDEXER_QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"
1168+ ; ISSUE_INDEXER_QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"; **DEPRECATED** use settings in `[queue.issue_indexer]`.
11551169; ;
11561170; ; Batch queue number, default is 20
1157- ; ISSUE_INDEXER_QUEUE_BATCH_NUMBER = 20
1171+ ; ISSUE_INDEXER_QUEUE_BATCH_NUMBER = 20; **DEPRECATED** use settings in `[queue.issue_indexer]`.
11581172
11591173; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11601174; ; Repository Indexer settings
@@ -1183,7 +1197,7 @@ PATH =
11831197; REPO_INDEXER_EXCLUDE =
11841198; ;
11851199; ;
1186- ; UPDATE_BUFFER_LEN = 20
1200+ ; UPDATE_BUFFER_LEN = 20; **DEPRECATED** use settings in `[queue.issue_indexer]`.
11871201; MAX_FILE_SIZE = 1048576
11881202
11891203; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1201,7 +1215,7 @@ PATH =
12011215; ; default to persistable-channel
12021216; TYPE = persistable-channel
12031217; ;
1204- ; ; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
1218+ ; ; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
12051219; DATADIR = queues/
12061220; ;
12071221; ; Default queue length before a channel queue will block
0 commit comments