forgejo/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.go
base_channel.go
base_channel_test.go
base_dummy.go
base_levelqueue.go
base_levelqueue_common.go
base_levelqueue_test.go
base_levelqueue_unique.go
base_redis.go
base_redis_test.go
base_test.go
config.go
manager.go
manager_test.go
queue.go
testhelper.go
workergroup.go
workerqueue.go
workerqueue_test.go