core: add delay between tasks

This commit is contained in:
undefined committed 2026-03-17 04:30:21 +08:00
1 parent 4c463be9ff
commit 9632abd86c
1 file changed
+2
+2
View File
@@ -176,6 +176,8 @@ export async function apply(ctx: Context) {
);
} catch (e) {
logger.error(e);
// eslint-disable-next-line no-await-in-loop
await sleep(50); // This allows exiting when shutting down
continue;
}
if (argv.options.showEvent) logger.info('Event: %o', res);