Quote and spacing

pull/3588/head
Isaac Connor 2022-08-15 17:59:17 -04:00
parent 7b39b3f7a6
commit b17ce950a9
1 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ while ($semaphore_tries) {
$have_semaphore = sem_acquire($semaphore, 1);
}
if ($have_semaphore !== false) break;
ZM\Debug("Failed to get semaphore, trying again");
ZM\Debug('Failed to get semaphore, trying again');
usleep(100000);
$semaphore_tries -= 1;
}
@ -114,7 +114,7 @@ if ($have_semaphore !== false) {
} else if ( $numSockets < 0 ) {
ajaxError("Socket closed $remSockFile");
} else if ( $numSockets == 0 ) {
ZM\Error("Timed out waiting for msg $remSockFile");
ZM\Error("Timed out waiting for msg $remSockFile after waiting $timeout seconds");
socket_set_nonblock($socket);
#ajaxError("Timed out waiting for msg $remSockFile");
} else if ( $numSockets > 0 ) {
@ -180,7 +180,7 @@ if ($have_semaphore !== false) {
}
sem_release($semaphore);
} else {
ajaxError("Unable to get semaphore.");
ajaxError('Unable to get semaphore.');
}
ajaxError('Unrecognised action or insufficient permissions in ajax/stream');