1
0
Fork 0
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:
Kayou 2020-06-23 12:34:04 +02:00 committed by GitHub
parent 8a8d4a6a9e
commit ae2358f78f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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