Skip to content

Commit 6fb0021

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

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

custom/conf/app.example.ini

+13-8
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,6 @@ 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-
;;
930929

931930
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
932931
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -945,21 +944,28 @@ LEVEL = Info
945944
;;
946945
;; Disable the code explore page.
947946
;DISABLE_CODE_PAGE = false
948-
;;
949947

950948
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
951949
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
952950
;[qos]
953951
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
954952
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
955-
;; Enable request quality of service and load shedding.
953+
;;
954+
;; Enable request quality of service and overload protection.
956955
; ENABLED = false
957-
;; The number of requests that are in flight to service before queuing
958-
;; begins. Default is 4 * number of CPUs
956+
;;
957+
;; The maximum number of concurrent requests that the server will
958+
;; process before enqueueing new requests. Default is "CpuNum * 4".
959959
; MAX_INFLIGHT =
960-
;; The maximum number of requests that can be enqueued before they will be dropped.
960+
;;
961+
;; The maximum number of requests that can be enqueued before new
962+
;; requests will be dropped.
961963
; MAX_WAITING = 100
962-
;; The target time for a request to be enqueued before it might be dropped.
964+
;;
965+
;; Target maximum wait time a request may be enqueued for. Requests
966+
;; that are enqueued for less than this amount of time will not be
967+
;; dropped. When wait times exceed this amount, a portion of requests
968+
;; will be dropped until wait times have decreased below this amount.
963969
; TARGET_WAIT_TIME = 250ms
964970

965971
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1455,7 +1461,6 @@ LEVEL = Info
14551461
;; or use comma separated list: inline-dollar, inline-parentheses, block-dollar, block-square-brackets
14561462
;; Defaults to "inline-dollar,block-dollar" to follow GitHub's behavior.
14571463
;MATH_CODE_BLOCK_DETECTION =
1458-
;;
14591464

14601465
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14611466
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

0 commit comments

Comments
 (0)