0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-24 20:17:03 +01:00
gitea/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_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 Calculate MAX_WORKERS default value by CPU number (#26177) 2023-07-27 16:40:35 +08:00
manager.go
queue.go
testhelper.go
workergroup.go
workerqueue_test.go
workerqueue.go