mirror of
https://github.com/unraid/api.git
synced 2026-01-03 06:59:50 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user