mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
remove await.
This commit is contained in:
parent
7dd77a505c
commit
11b234cca6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user