Skip to content

Commit add9b05

Browse files
committed
fix: #239 healthcheck for workers
1 parent 0d5acc0 commit add9b05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/Console/Commands/SelfHostPtah.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function handle()
294294
'command' => null,
295295
],
296296
'healthcheck' => [
297-
'command' => null,
297+
'command' => 'pgrep -f "php artisan schedule:work"',
298298
'interval' => 10,
299299
'timeout' => 5,
300300
'retries' => 3,
@@ -314,7 +314,7 @@ public function handle()
314314
'command' => null,
315315
],
316316
'healthcheck' => [
317-
'command' => null,
317+
'command' => 'pgrep -f "php artisan queue:work"',
318318
'interval' => 10,
319319
'timeout' => 5,
320320
'retries' => 3,

0 commit comments

Comments
 (0)