• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bee-queue / bee-queue / 268 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2020 05:05PM UTC
Files 8
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Feb 2020 05:04PM UTC coverage: 100.0%. Remained the same
268.3

push

travis-ci

web-flow
fix(backoff): allow no delay arg when setting immediate strategy (#154)

Per [the
documentation](https://github.com/mixmaxhq/bee-queue#jobbackoffstrategy-delayfactor)
you should be able to call `job.backoff('immediate')` to set an
immediate backoff strategy for retried jobs. However, the `backoff`
method explicitly disallowed this by checking for
`Number.isSafeInteger(undefined)` which returns false. This means
you currently cannot specify an immediate backoff strategy without also specifying a positive delay value.

To fix this, only check for valid integers when the strategy is not
`immediate`.

Co-authored-by: Hugh Secker-Walker <hsw@hodain.net>

299 of 299 branches covered (100.0%)

542 of 542 relevant lines covered (100.0%)

2547.03 hits per line

Source Files on job 268.3
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 251
  • Travis Job 268.3
  • 6f1d62fc on github
  • Prev Job for on master (#257.1)
  • Next Job for on master (#284.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc