diff options
author | Giteabot <teabot@gitea.io> | 2023-10-10 20:22:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 20:22:26 +0800 |
commit | 478e7042f5c4b4da9f72b11ee55a171e326a1603 (patch) | |
tree | 081eb77351f872ed34d82dbc9730c0e4d267817c /custom | |
parent | 63587a4aef69367fee28540e8e083af9b49c8035 (diff) | |
download | gitea-478e7042f5c4b4da9f72b11ee55a171e326a1603.tar.gz gitea-478e7042f5c4b4da9f72b11ee55a171e326a1603.zip |
Increase queue length (#27555) (#27562)
Backport #27555 by @wolfogre
It should be OK to increase the default queue length since the default
type is "level".
IMO, the old default length (100) is a little too small. See
https://github.com/go-gitea/gitea/issues/27540#issuecomment-1754269491
IIRC, a larger length could lead to more memory usage only when the type
is "channel," but it's an obscure case. Otherwise, it's just a limit
(for "level" or "redis").
Co-authored-by: Jason Song <i@wolfogre.com>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 7db3c157c9..4e2af7bbc0 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1420,7 +1420,7 @@ LEVEL = Info ;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`. ;; ;; Default queue length before a channel queue will block -;LENGTH = 100 +;LENGTH = 100000 ;; ;; Batch size to send for batched queues ;BATCH_LENGTH = 20 |