remove await.

This commit is contained in:
Simon Larsen 2023-08-06 22:11:28 +01:00
parent 7dd77a505c
commit 11b234cca6
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -20,7 +20,10 @@ const init: Function = async (): Promise<void> => {
let workers: number = 0;
while (workers < PROBE_MONITORING_WORKERS) {
await new FetchListAndProbe().run();
new FetchListAndProbe().run().catch((err: any) => {
logger.error('FetchListAndProbe Failed:');
logger.error(err);
});
workers++;
}
} catch (err) {