@forwardimpact/basecamp 2.9.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/basecamp.js +4 -3
package/package.json
CHANGED
package/src/basecamp.js
CHANGED
|
@@ -156,14 +156,15 @@ function daemon() {
|
|
|
156
156
|
);
|
|
157
157
|
socketServer.start();
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
setInterval(async () => {
|
|
159
|
+
async function tick() {
|
|
161
160
|
try {
|
|
162
161
|
await scheduler.wakeDueAgents();
|
|
163
162
|
} catch (err) {
|
|
164
163
|
log(`Error: ${err.message}`);
|
|
165
164
|
}
|
|
166
|
-
|
|
165
|
+
setTimeout(tick, 60_000);
|
|
166
|
+
}
|
|
167
|
+
tick();
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
// --- Update ------------------------------------------------------------------
|