forgejo/modules/queue
wxiaoguang 8baa42c8d7
Calculate MAX_WORKERS default value by CPU number (#26177)
To avoid consuming user's 100% CPU, limit the default value of
MAX_WORKERS

Fix #26063 (the CPU 100% problem mentioned in it)
2023-07-27 16:40:35 +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 Calculate MAX_WORKERS default value by CPU number (#26177) 2023-07-27 16:40:35 +08:00
queue.go
testhelper.go
workergroup.go
workerqueue.go
workerqueue_test.go