mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Update upgrade
This commit is contained in:
parent
8a8d4a6a9e
commit
ae2358f78f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ if [ -z "$puma_worker_processes" ]; then
|
|||
puma_worker_processes=$(( $(nproc) > 2 ? $(nproc) : 2 ))
|
||||
|
||||
# If the server has less than 2GB of RAM
|
||||
if [ $(ynh_check_ram --no_swap) -lt 2000 ]; then
|
||||
if [ $(ynh_get_ram --total --ignore_swap) -lt 2000 ]; then
|
||||
puma_min_threads=1
|
||||
puma_max_threads=1
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue