Skip to content

Better job retry, code quality#14

Open
dumbledope wants to merge 9 commits into
mainfrom
feat/misc-fixes
Open

Better job retry, code quality#14
dumbledope wants to merge 9 commits into
mainfrom
feat/misc-fixes

Conversation

@dumbledope
Copy link
Copy Markdown
Collaborator

Better backoff and retry logic for some worker jobs:

  • The balances job runs less often (now every 5 minutes)
  • The finalize jobs retry every 10 minutes, and retry for more instances, to account for expected block times and confirmation delays

Various small fixes regarding code quality:

  • Instead of checking for undefined with typeof val === 'undefined', added isNullish and isNotNullish helpers that check against null and undefined
  • Removed unused imports and variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant