Merge branch '599-fix-jo-bug' into 'master-fix'
Zero out redis_jo_count #599 See merge request jankstudio/resq!716
This commit is contained in:
commit
f06caf61a0
1 changed files with 4 additions and 2 deletions
|
|
@ -2035,7 +2035,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
|
||||
// counters
|
||||
$hub['rider_count'] = count($hub['hub']->getAvailableRiders());
|
||||
$hub['redis_jo_count'] = $hub['jo_count'];
|
||||
// $hub['redis_jo_count'] = $hub['jo_count'];
|
||||
$hub['redis_jo_count'] = 0;
|
||||
$hub['jo_count'] = count($hub['hub']->getForAssignmentJobOrders());
|
||||
|
||||
// check for rejection
|
||||
|
|
@ -2338,7 +2339,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
|
||||
// counters
|
||||
$hub['rider_count'] = count($hub['hub']->getAvailableRiders());
|
||||
$hub['redis_jo_count'] = $hub['jo_count'];
|
||||
// $hub['redis_jo_count'] = $hub['jo_count'];
|
||||
$hub['redis_jo_count'] = 0;
|
||||
$hub['jo_count'] = count($hub['hub']->getForAssignmentJobOrders());
|
||||
|
||||
// check for rejection
|
||||
|
|
|
|||
Loading…
Reference in a new issue