Skip to content

Commit 4fe9e26

Browse files
committed
relax default values
These are more appropriate for slower hardware
1 parent be160b0 commit 4fe9e26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom/conf/app.example.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ LEVEL = Info
960960
;; The maximum number of requests that can be enqueued before they will be dropped.
961961
; MAX_WAITING = 100
962962
;; The target time for a request to be enqueued before it might be dropped.
963-
; TARGET_WAIT_TIME = 50ms
963+
; TARGET_WAIT_TIME = 250ms
964964

965965
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
966966
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

modules/setting/service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,5 @@ func loadQosSetting(rootCfg ConfigProvider) {
291291
Service.QoS.Enabled = sec.Key("ENABLED").MustBool(false)
292292
Service.QoS.MaxInFlightRequests = sec.Key("MAX_INFLIGHT").MustInt(4 * runtime.NumCPU())
293293
Service.QoS.MaxWaitingRequests = sec.Key("MAX_WAITING").MustInt(100)
294-
Service.QoS.TargetWaitTime = sec.Key("TARGET_WAIT_TIME").MustDuration(50 * time.Millisecond)
294+
Service.QoS.TargetWaitTime = sec.Key("TARGET_WAIT_TIME").MustDuration(250 * time.Millisecond)
295295
}

0 commit comments

Comments
 (0)