Skip to content

Commit 9021aa6

Browse files
committed
fix: since to be in seconds
Signed-off-by: Ricardo Arturo Cabral Mejía <[email protected]>
1 parent af217fb commit 9021aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/static-mirroring-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class StaticMirroringWorker implements IRunnable {
8080
return
8181
}
8282

83-
since = Math.floor(Date.now()) - 30
83+
since = Math.floor(Date.now() / 1000) - 30
8484

8585
if (cluster.isWorker && typeof process.send === 'function') {
8686
debug('%s >> local: %s', config.address, event.id)

0 commit comments

Comments
 (0)