0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 06:44:35 +01:00
gitea/modules/queue
Giteabot 478e7042f5
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>
2023-10-10 20:22:26 +08:00
..
lqinternal Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
backoff.go
base.go
base_channel.go Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
base_channel_test.go
base_dummy.go
base_levelqueue.go Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
base_levelqueue_common.go Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
base_levelqueue_test.go Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
base_levelqueue_unique.go Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
base_redis.go Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
base_redis_test.go
base_test.go
config.go
manager.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
manager_test.go Increase queue length (#27555) (#27562) 2023-10-10 20:22:26 +08:00
queue.go Expanding documentation in queue.go (#26889) 2023-09-08 05:22:43 +00:00
testhelper.go
workergroup.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
workerqueue.go Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
workerqueue_test.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00