Skip to content

Commit a75e3a4

Browse files
authored
Merge pull request #158 from stmeyer/patch-1
fix if posix is not enabled (e.g. Windows)
2 parents a43c9fb + 9495de6 commit a75e3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/QueuedJobsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public function getProcesses() {
561561
$processes = [];
562562
foreach (glob($pidFilePath . 'queue_*.pid') as $filename) {
563563
$time = filemtime($filename);
564-
preg_match('/\bqueue_(\d+)\.pid$/', $filename, $matches);
564+
preg_match('/\bqueue_([0-9a-z]+)\.pid$/', $filename, $matches);
565565
$processes[$matches[1]] = $time;
566566
}
567567

0 commit comments

Comments
 (0)