fix: reduce timeout duration in UnraidCheck class

This commit is contained in:
Zack Spear
2025-03-19 18:54:09 -07:00
parent 3bcd7266a4
commit c75774d70d
@@ -123,7 +123,7 @@ class UnraidOsCheck
if ($replaceKey->check($forceReplaceKeyCheck)) {
// if we have a new key, we need to wait for emhttp to update var.ini with the new regExp value
$startTime = time();
$timeout = 30; // 30 seconds
$timeout = 5; // seconds
while (time() - $startTime < $timeout) {
$currentVar = (array)@parse_ini_file(self::VAR_INI_FILE);