15 Commits

Author SHA1 Message Date
Manuel Astudillo 3ade8e6727 fix: force options to guarantee correct reconnects
BREAKING CHANGE:
If redis opts are missing:
 { maxRetriesPerRequest: null,
   enableReadyCheck: false }
then a exception will be thrown.
2021-10-27 18:42:38 +08:00
Manuel Astudillo 19c7e44603 feat: add isPaused fixes #1274 2020-06-29 23:17:49 +02:00
Gabe Gorelick 39bb48c681 fix(pause): don't initialize bclient if not waiting for jobs to finish
This is the same change as #1347 but for `pause(true, true)`.
2019-11-08 11:28:59 -05:00
Gabe Gorelick 52b387f0b0 fix: queue.pause(true, true) doesn't pause queue
Fixes #1532
2019-11-05 14:25:11 -05:00
Gabe Gorelick 3e082c0c7e fix: whenCurrentJobsFinished shouldn't initialize bclient
Fixes #1346
2019-06-11 15:28:21 -05:00
Denis Bardadym 5c560b2682 Upgrade codebase with safe es6 features 2019-01-17 14:20:53 +03:00
Denis Bardadym f05e67724c Remove bluebird (#1156)
* Remove bluebird from lib code

* Remove bluebird at all

* Refresh package-lock.json and remove yarn.lock
2018-12-22 23:34:27 +01:00
Manuel Astudillo 1962aa9ec0 merged master 2018-11-14 22:13:57 +01:00
Manuel Astudillo 82117f063a replace bluebird by native promises where possible 2018-11-12 23:21:48 +01:00
Manuel Astudillo 855224a6cf removed many dangling redis connections in tests 2018-05-14 18:18:59 +02:00
Manuel Astudillo a7edb13a39 prettified 2018-02-19 11:13:33 +01:00
Manuel Astudillo b55471c003 fetch next job after completing the current one fixes #868 2018-02-19 10:56:23 +01:00
Maximilian Stoiber e3bcce65a9 Run prettier once over all JavaScript files' 2018-02-16 10:47:30 +01:00
Manuel Astudillo 8d45539075 fixed lint warning 2017-12-05 10:30:26 +01:00
Manuel Astudillo 1620a96225 fixed #781 and #716 2017-11-09 15:57:00 +01:00