diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-07-27 16:40:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 16:40:35 +0800 |
commit | 8baa42c8d749381649404ecb194b8510af11ba0a (patch) | |
tree | ba1ef17894522c40eb41d3f9c484ccd9ba1a50d2 /modules/ssh | |
parent | 73fb1ecdcf7c72c9b15caa70a8e3f444d311bd7b (diff) | |
download | gitea-8baa42c8d749381649404ecb194b8510af11ba0a.tar.gz gitea-8baa42c8d749381649404ecb194b8510af11ba0a.zip |
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)
Diffstat (limited to 'modules/ssh')
0 files changed, 0 insertions, 0 deletions