From 8235cd59596a0b3745a1926c82975291ea30706e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 17 Jun 2017 11:30:01 +0200 Subject: [PATCH] set env vars --- contrib/packager.io/functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/packager.io/functions b/contrib/packager.io/functions index 00ec34ee1..502ccfd8b 100644 --- a/contrib/packager.io/functions +++ b/contrib/packager.io/functions @@ -234,10 +234,10 @@ function update_or_install () { } function set_env_vars () { - zammad config:set RUBY_GC_MALLOC_LIMIT=1077216 - zammad config:set RUBY_GC_MALLOC_LIMIT_MAX=2177216 - zammad config:set RUBY_GC_OLDMALLOC_LIMIT=2177216 - zammad config:set RUBY_GC_OLDMALLOC_LIMIT_MAX=3000100 + zammad config:set RUBY_GC_MALLOC_LIMIT=${ZAMMAD_RUBY_GC_MALLOC_LIMIT:=1077216} + zammad config:set RUBY_GC_MALLOC_LIMIT_MAX=${ZAMMAD_RUBY_GC_MALLOC_LIMIT_MAX:=2177216} + zammad config:set RUBY_GC_OLDMALLOC_LIMIT=${ZAMMAD_RUBY_GC_OLDMALLOC_LIMIT:=2177216} + zammad config:set RUBY_GC_OLDMALLOC_LIMIT_MAX=${ZAMMAD_RUBY_GC_OLDMALLOC_LIMIT_MAX:=3000100} } function final_message () {