Slow polling loop

This commit is contained in:
Robert (KHobbits)
2016-02-02 11:36:49 +00:00
parent f2bad9816b
commit 028b4300ba

View File

@@ -1424,6 +1424,7 @@ function rrdtest($path, &$stdOutput, &$stdError) {
$status = proc_get_status($process);
while($status['running']) {
usleep(2000); // Sleep 2000 microseconds or 2 milliseconds
$status = proc_get_status($process);
}