diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/Models/SystemConfiguration.php | 1 | ||||
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/Models/SystemConfiguration.php b/app/Models/SystemConfiguration.php index 3efe33b15..3c9cc116d 100644 --- a/app/Models/SystemConfiguration.php +++ b/app/Models/SystemConfiguration.php @@ -20,6 +20,7 @@ declare(strict_types=1); * @property array<string,int> $limits * @property-read string $logo_html * @property-read string $meta_description + * @property-read int $nb_parallel_refresh * @property-read bool $pubsubhubbub_enabled * @property-read string $salt * @property-read bool $simplepie_syslog_enabled 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(), |
