diff options
Diffstat (limited to 'server/lib/runners/runner.ts')
-rw-r--r-- | server/lib/runners/runner.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/runners/runner.ts b/server/lib/runners/runner.ts index 74c814ba1..5478ab519 100644 --- a/server/lib/runners/runner.ts +++ b/server/lib/runners/runner.ts | |||
@@ -12,7 +12,7 @@ function updateLastRunnerContact (req: express.Request, runner: MRunner) { | |||
12 | const now = new Date() | 12 | const now = new Date() |
13 | 13 | ||
14 | // Don't update last runner contact too often | 14 | // Don't update last runner contact too often |
15 | if (now.getTime() - runner.lastContact.getTime() < 2000) return | 15 | if (now.getTime() - runner.lastContact.getTime() < 30000) return |
16 | if (updatingRunner.has(runner.id)) return | 16 | if (updatingRunner.has(runner.id)) return |
17 | 17 | ||
18 | updatingRunner.add(runner.id) | 18 | updatingRunner.add(runner.id) |