From bcfaab6959f56a5c8890937761ce909953d193aa Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 10 Jan 2024 16:33:57 +0800 Subject: [PATCH] fix: fix manual start monitor will not loop run bug #15 --- src/server/model/monitor/runner.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/model/monitor/runner.ts b/src/server/model/monitor/runner.ts index 2c71916..dc95bed 100644 --- a/src/server/model/monitor/runner.ts +++ b/src/server/model/monitor/runner.ts @@ -94,6 +94,7 @@ export class MonitorRunner { } }; + this.isStopped = false; run(); logger.info(`Start monitor ${monitor.name}(${monitor.id})`);