File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ root_check
22
22
23
23
# Check recources
24
24
ram_check 4
25
- cpu_check 4
25
+ cpu_check 2
26
26
27
27
# Compatible with NC24 and above
28
28
lowest_compatible_nc 26
@@ -121,12 +121,12 @@ install_if_not php"$PHPVER"-sysvsem
121
121
install_if_not ffmpeg
122
122
123
123
# Set default limits
124
- # https://github. com/nextcloud/ server/pull/18210/files#diff-3bbe91e1f85eec5dbd0031642dfb0ad6749b550fc3b94af7aa68a98210b78738R1121
125
- nextcloud_occ config:system:set preview_concurrency_all --value=" 8 "
126
- nextcloud_occ config:system:set preview_concurrency_new --value=" 4 "
124
+ # https://docs.nextcloud. com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#previews
125
+ nextcloud_occ config:system:set preview_concurrency_all --value=" 4 "
126
+ nextcloud_occ config:system:set preview_concurrency_new --value=" 2 "
127
127
128
128
# Set providers (https://github.com/nextcloud/server/blob/master/lib/private/Preview/Imaginary.php#L60)
129
- # https://github.com/nextcloud/vm/pull/2464#discussion_r1155074227
129
+ # https://github.com/nextcloud/vm/issues/2465
130
130
nextcloud_occ config:system:set enabledPreviewProviders 0 --value=" OC\\ Preview\\ Imaginary"
131
131
nextcloud_occ config:system:set enabledPreviewProviders 1 --value=" OC\\ Preview\\ Image"
132
132
nextcloud_occ config:system:set enabledPreviewProviders 2 --value=" OC\\ Preview\\ MarkDown"
You can’t perform that action at this time.
0 commit comments