Update callbackTimeout interval, error msg

This commit is contained in:
billz 2025-01-19 00:18:56 -08:00
parent b52bd84ea4
commit 2bab11b951
3 changed files with 4 additions and 4 deletions

View File

@ -118,12 +118,12 @@ function DisplaySystem(&$extraFooterScripts)
$logLimit = isset($_SESSION['log_limit']) ? $_SESSION['log_limit'] : RASPI_LOG_SIZE_LIMIT;
try {
$plugins = callbackTimeout(fn() => $pluginInstaller->getUserPlugins(), 2000);
$plugins = callbackTimeout(fn() => $pluginInstaller->getUserPlugins(), 3000);
$pluginsTable = $pluginInstaller->getHTMLPluginsTable($plugins);
} catch (\Exception $e) {
$errResponse = sprintf(
'<div class="mt-3 mb-2"><strong>%s:</strong> %s. <strong>%s</strong> %s.</div>',
_('Error'),
_('Network error'),
_('Unable to load plugins'),
_('Reload'),
_('and try again')

Binary file not shown.

View File

@ -926,8 +926,8 @@ msgstr "The following user plugins are available to extend RaspAP's functionalit
msgid "Choose <strong>Details</strong> for more information and to install a plugin."
msgstr "Choose <strong>Details</strong> for more information and to install a plugin."
msgid "Error"
msgstr "Error"
msgid "Network error"
msgstr "Network error"
msgid "Unable to load plugins"
msgstr "Unable to load plugins"