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

bee-queue / bee-queue / 268
100%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2020 05:05PM UTC
Jobs 3
Files 8
Run time 6s
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

pending completion
268

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%)

7641.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 268.1 21 Feb 2020 05:05PM UTC 0
100.0
Travis Job 268.1
2 268.2 21 Feb 2020 05:05PM UTC 0
100.0
Travis Job 268.2
3 268.3 21 Feb 2020 05:05PM UTC 0
100.0
Travis Job 268.3
Source Files on build 268
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #268
  • 6f1d62fc on github
  • Prev Build on master (#257)
  • Next Build on master (#284)
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