1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00: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
backoff.go
base_channel_test.go
base_channel.go
base_dummy.go
base_levelqueue_common.go
base_levelqueue_test.go
base_levelqueue_unique.go
base_levelqueue.go
base_redis_test.go
base_redis.go
base_test.go
base.go
config.go
manager_test.go Increase queue length (#27555) (#27562) 2023-10-10 20:22:26 +08:00
manager.go
queue.go
testhelper.go
workergroup.go
workerqueue_test.go
workerqueue.go