Skip to content

Commit

Permalink
Merge pull request #102 from franeko/patch-1
Browse files Browse the repository at this point in the history
Allow setting polling delay through settings variable
  • Loading branch information
inlife authored Feb 19, 2019
2 parents 68ce635 + 5cdbc4b commit 16c3d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nexrender-worker/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const nextJob = async (client, settings) => {
}
}

await delay(NEXRENDER_API_POLLING)
await delay(settings.polling || NEXRENDER_API_POLLING)
} while (active)
}

Expand Down

0 comments on commit 16c3d1e

Please sign in to comment.