Skip to content

Commit

Permalink
fix: since to be in seconds
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
  • Loading branch information
cameri committed Feb 2, 2023
1 parent af217fb commit 9021aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/static-mirroring-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9021aa6

Please # to comment.