Skip to content

Commit ec0941b

Browse files
committed
update app.example.ini to match documentation
See https://gitea.com/gitea/docs/pulls/208
1 parent d2af28d commit ec0941b

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

Diff for: custom/conf/app.example.ini

+14-8
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ LEVEL = Info
926926
;USER_DELETE_WITH_COMMENTS_MAX_TIME = 0
927927
;; Valid site url schemes for user profiles
928928
;VALID_SITE_URL_SCHEMES=http,https
929-
;;
929+
930930

931931
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
932932
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -945,21 +945,28 @@ LEVEL = Info
945945
;;
946946
;; Disable the code explore page.
947947
;DISABLE_CODE_PAGE = false
948-
;;
949948

950949
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
951950
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
952951
;[qos]
953952
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
954953
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
955-
;; Enable request quality of service and load shedding.
954+
;;
955+
;; Enable request quality of service and overload protection.
956956
; ENABLED = false
957-
;; The number of requests that are in flight to service before queuing
958-
;; begins. Default is 4 * number of CPUs
957+
;;
958+
;; The maximum number of concurrent requests that the server will
959+
;; process before enqueueing new requests. Default is "CpuNum * 4".
959960
; MAX_INFLIGHT =
960-
;; The maximum number of requests that can be enqueued before they will be dropped.
961+
;;
962+
;; The maximum number of requests that can be enqueued before new
963+
;; requests will be dropped.
961964
; MAX_WAITING = 100
962-
;; The target time for a request to be enqueued before it might be dropped.
965+
;;
966+
;; Target maximum wait time a request may be enqueued for. Requests
967+
;; that are enqueued for less than this amount of time will not be
968+
;; dropped. When wait times exceed this amount, a portion of requests
969+
;; will be dropped until wait times have decreased below this amount.
963970
; TARGET_WAIT_TIME = 250ms
964971

965972
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1455,7 +1462,6 @@ LEVEL = Info
14551462
;; or use comma separated list: inline-dollar, inline-parentheses, block-dollar, block-square-brackets
14561463
;; Defaults to "inline-dollar,block-dollar" to follow GitHub's behavior.
14571464
;MATH_CODE_BLOCK_DETECTION =
1458-
;;
14591465

14601466
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14611467
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

0 commit comments

Comments
 (0)