diff options
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/conf/app.ini b/conf/app.ini index 3287775491..ce5c270553 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -17,8 +17,10 @@ ANSI_CHARSET = FORCE_PRIVATE = false ; Global maximum creation limit of repository per user, -1 means no limit MAX_CREATION_LIMIT = -1 -; Patch test queue length, make it as large as possible -PULL_REQUEST_QUEUE_LENGTH = 10000 +; Mirror sync queue length, increase if mirror syncing starts hanging +MIRROR_QUEUE_LENGTH = 1000 +; Patch test queue length, increase if pull request patch testing starts hanging +PULL_REQUEST_QUEUE_LENGTH = 1000 ; Preferred Licenses to place at the top of the List ; Name must match file name in conf/license or custom/conf/license PREFERRED_LICENSES = Apache License 2.0,MIT License @@ -184,7 +186,7 @@ ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false ENABLE_CAPTCHA = true [webhook] -; Hook task queue length +; Hook task queue length, increase if webhook shooting starts hanging QUEUE_LENGTH = 1000 ; Deliver timeout in seconds DELIVER_TIMEOUT = 5 @@ -389,7 +391,7 @@ GC = 60 [mirror] ; Default interval in hours between each check -DEFAULT_INTERVAL = 24 +DEFAULT_INTERVAL = 8 [api] ; Max number of items will response in a page |