Skip to content

Commit 914bc5a

Browse files
committed
Fix deprecated part.
1 parent 55b9797 commit 914bc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/QueueProcessesTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function status() {
220220
$count = 0;
221221
foreach (glob($pidFilePath . 'queue_*.pid') as $filename) {
222222
$time = filemtime($filename);
223-
if ($time >= $thresholdTime) {
223+
if ($time >= $thresholdTime->timestamp) {
224224
$count++;
225225
}
226226
}

0 commit comments

Comments
 (0)