From 9021aa6b118332b1d8dfbe87fa0c3e2b5d8500d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Sun, 29 Jan 2023 20:11:02 -0500 Subject: [PATCH] fix: since to be in seconds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo Arturo Cabral Mejía --- src/app/static-mirroring-worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/static-mirroring-worker.ts b/src/app/static-mirroring-worker.ts index da025a17..9c2500ec 100644 --- a/src/app/static-mirroring-worker.ts +++ b/src/app/static-mirroring-worker.ts @@ -80,7 +80,7 @@ export class StaticMirroringWorker implements IRunnable { return } - since = Math.floor(Date.now()) - 30 + since = Math.floor(Date.now() / 1000) - 30 if (cluster.isWorker && typeof process.send === 'function') { debug('%s >> local: %s', config.address, event.id)