From 478e7042f5c4b4da9f72b11ee55a171e326a1603 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 10 Oct 2023 20:22:26 +0800 Subject: 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 --- custom/conf/app.example.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') 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 -- cgit v1.2.3