monitoring: Let PHP flush the writer buffer to the command file
refs #9570
This commit is contained in:
parent
282aaa6e5b
commit
cb0b3c8754
|
@ -122,7 +122,6 @@ class LocalCommandFile implements CommandTransportInterface
|
|||
try {
|
||||
$file = new File($this->path, $this->openMode);
|
||||
$file->fwrite($commandString . "\n");
|
||||
$file->fflush();
|
||||
} catch (Exception $e) {
|
||||
$message = $e->getMessage();
|
||||
if ($e instanceof RuntimeException && ($pos = strrpos($message, ':')) !== false) {
|
||||
|
|
Loading…
Reference in New Issue