Created by: mehdimu
Notes
- This is a fix for #1148
- Fixed the issue where when rate limit hits, the jobs were been dropped
- Fixed the original test case for
should not put a job into the delayed queue when discard is true
, where it was equatinggetActiveCount
instead ofgetWaitingCount
cc: @aleccool213