This commit is contained in:
2020-09-09 18:50:46 +08:00
parent 3d29ae08c4
commit e58e388d3b
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -28,12 +28,12 @@ class OnWorkerError extends Callback
if (!Config::has('email')) {
return;
}
// Coroutine::create([$this,'system_mail'],print_r([
// '$worker_pid' => $worker_pid,
// '$worker_id' => $worker_id,
// '$exit_code' => $exit_code,
// '$signal' => $signal,
// ], true));
$this->system_mail(print_r([
'$worker_pid' => $worker_pid,
'$worker_id' => $worker_id,
'$exit_code' => $exit_code,
'$signal' => $signal,
], true));
}
}