From 0742fa2caf09c79387ccf4b2cd4526d5124ee3d3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 28 Jul 2022 20:00:14 +0200 Subject: [PATCH] updating default config according to the latest upstream --- conf/config.yaml | 4 ++-- scripts/install | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index 8bdbc8c..c490860 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -215,12 +215,12 @@ accounts-reason-required: __ACCOUNTS_REASON_REQUIRED__ # Int. Maximum allowed image upload size in bytes. # Examples: [2097152, 10485760] -# Default: 2097152 -- aka 2MB +# Default: 10485760 -- aka 10MB media-image-max-size: __MEDIA_IMAGE_MAX_SIZE__ # Int. Maximum allowed video upload size in bytes. # Examples: [2097152, 10485760] -# Default: 10485760 -- aka 10MB +# Default: 41943040 -- aka 40MB media-video-max-size: __MEDIA_VIDEO_MAX_SIZE__ # Int. Minimum amount of characters required as an image or video description. diff --git a/scripts/install b/scripts/install index 9eaa7ce..f8bf56a 100755 --- a/scripts/install +++ b/scripts/install @@ -44,8 +44,8 @@ accounts_reason_required=$(convert_bool "$YNH_APP_ARG_ACCOUNTS_REASON_REQUIRED") instance_expose_peers="false" instance_expose_suspended="false" -media_image_max_size="2097152" -media_video_max_size="10485760" +media_image_max_size="10485760" +media_video_max_size="41943040" media_description_min_chars="0" media_description_max_chars="500" media_remote_cache_days="30"