Merged
requested to merge github/fork/mixmaxhq/andrewtamura/prevent-queue-clean-from-throwing-when-job-is-null into master
Created by: andrewtamura
queue#clean should check the job
parameter from Promise.filter()
if any of the queue getter functions (getCompleted
, getWaiting
, getActive
, getDelayed
, getFailed
) return a false-y value. This check will prevent the issue in https://github.com/OptimalBits/bull/issues/262