toniq v1.2.3 API Reference

Modules

Reports events from the job running lifecycle

Represents a process crash. Ensures we always return an error struct, even if the crash didn’t occur from a raised error

Default retry strategy:

  • Will retry jobs 5 times after the initial attempt.
  • Waits 250 ms before the first try, then 4 seconds, then 20 seconds, then 1 minute and finally 2.5 minutes before the last try

The simplest retry strategy:

  • Retries 2 times after the initial try for a total of 3 runs
  • Retries right away without waiting when a job fails

Checks redis for orphaned jobs from other vms and moves them into a incoming jobs list