Update ingest logs worker start seconds key

This commit is contained in:
MICHAEL JACKSON 2017-05-24 11:41:57 -07:00
parent 05fde65cd3
commit 818255cd04
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
web: node server.js
log: node workers/ingest-logs.js
ingest_logs: node workers/ingest-logs.js

View File

@ -209,7 +209,7 @@ const ingestLogs = (zone, startSeconds, endSeconds) =>
})
const startZone = (zone) => {
const startSecondsKey = `logsWorker-nextStartSeconds-${zone.name.replace('.', '-')}`
const startSecondsKey = `ingestLogsWorker-nextStartSeconds-${zone.name.replace('.', '-')}`
const takeATurn = () => {
db.get(startSecondsKey, (error, value) => {