aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-02-26 09:01:49 +0100
committerGravatar GitHub <noreply@github.com> 2024-02-26 09:01:49 +0100
commitbdf899164b6ba127edd42352e85dc37ab445966a (patch)
tree5e95775599d80b69784715f3af57fdbf62336b17 /app/views/helpers/javascript_vars.phtml
parentbfd277065c7bfd28779c585549dd9e9e577eabdf (diff)
System option for number of feeds to refresh in parallel (#6124)
* System option for number of feeds to refresh in parallel fix https://github.com/FreshRSS/FreshRSS/issues/6123 * Forgot refreshDynamicOpml
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 29f78e5ee..5be818935 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -17,6 +17,7 @@ echo htmlspecialchars(json_encode(array(
'auto_mark_focus' => !!$mark['focus'],
'auto_load_more' => !!FreshRSS_Context::userConf()->auto_load_more,
'auto_actualize_feeds' => Minz_Session::paramBoolean('actualize_feeds'),
+ 'nb_parallel_refresh' => max(1, FreshRSS_Context::systemConf()->nb_parallel_refresh),
'does_lazyload' => !!FreshRSS_Context::userConf()->lazyload ,
'sides_close_article' => !!FreshRSS_Context::userConf()->sides_close_article,
'sticky_post' => !!FreshRSS_Context::isStickyPostEnabled(),