From 57b48abb2e891c8940d788aa848467aa3e280bdd Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Apr 2022 01:46:35 +0200 Subject: [PATCH] remove max_memory question during install --- check_process | 1 - manifest.json | 9 --------- scripts/install | 3 ++- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/check_process b/check_process index c83981f..34f2476 100644 --- a/check_process +++ b/check_process @@ -1,7 +1,6 @@ ;; Test complet ; Manifest domain="domain.tld" - maxmembers=50 ; Checks pkg_linter=1 setup_sub_dir=0 diff --git a/manifest.json b/manifest.json index 2fb466d..bba73bc 100644 --- a/manifest.json +++ b/manifest.json @@ -37,15 +37,6 @@ { "name": "domain", "type": "domain" - }, - { - "name": "max_memory", - "ask":{ - "en":"Set max memory to use for each javaVM (Each simultaneous user consume around 1,5mb of memory)" - }, - "type": "number", - "default": 1500, - "example": "for 50 simultaneous user will consume next to 75 Mb" } ] } diff --git a/scripts/install b/scripts/install index 2cc4fb2..102e153 100644 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,6 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -max_memory=$YNH_APP_ARG_MAX_MEMORY path_url="/" app=$YNH_APP_INSTANCE_NAME @@ -43,6 +42,8 @@ focus_user="focus" videobridge_user="jvb" +max_memory=75 + #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #=================================================