pg-boss
pg-boss copied to clipboard
feat: introduce output argument to `.cancel()` and `.failWithoutRetry()` to mark jobs as failed without implicitly retrying
Introduces:
.cancel(jobId, data).failWithoutRetry(jobId, data)- current implementation of
.fail()queues up a retry ifretrycount < retrylimit, giving no option of marking job as explicitly failed without further retries down the line
- current implementation of
Additionally:
- Bumps default Postgres container limits to 300 to avoid any max connections exceeded errors during test runs