fix: reduce sleep duration in UnraidCheck class

- Changed the sleep duration between checks from 0.25 seconds to 0.15 seconds in the `UnraidCheck` class to improve responsiveness during checks.

This change optimizes the checking process without altering the overall functionality.
This commit is contained in:
Zack Spear
2025-03-19 18:19:23 -07:00
parent df1e1f0e34
commit 3bcd7266a4

View File

@@ -136,7 +136,7 @@ class UnraidOsCheck
break;
}
usleep(250000); // Sleep for 0.25 seconds between checks
usleep(150000); // Sleep for 0.15 seconds between checks
}
if (time() - $startTime >= $timeout) { // if we timeout, use the current value