diff --git a/app/Jobs/CheckHostIfExistsOnModule.php b/app/Jobs/CheckHostIfExistsOnModule.php index 640caad..a802c1a 100644 --- a/app/Jobs/CheckHostIfExistsOnModule.php +++ b/app/Jobs/CheckHostIfExistsOnModule.php @@ -42,8 +42,8 @@ public function handle() $response = $http->get('hosts/' . $host->id); if ($response->status() === 404) { - Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除'); - // dispatch(new \App\Jobs\Remote\Host($host, 'delete')); + // Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除'); + dispatch(new \App\Jobs\Remote\Host($host, 'delete')); } } });