Add TODO for emergency distance limit. #743
This commit is contained in:
parent
f6436cd421
commit
2535498db9
1 changed files with 2 additions and 0 deletions
|
|
@ -2464,6 +2464,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
if ($willing_to_wait == WillingToWaitContent::NOT_WILLING_TO_WAIT)
|
||||
{
|
||||
// reset distance limit if emergency
|
||||
//TODO: move to .env the emergency distance limit
|
||||
$hub_criteria->setLimitDistance(500);
|
||||
$hub_criteria->setEmergency(true);
|
||||
}
|
||||
|
|
@ -2794,6 +2795,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
$willing_to_wait = $obj->getWillWait();
|
||||
if ($willing_to_wait == WillingToWaitContent::NOT_WILLING_TO_WAIT)
|
||||
{
|
||||
//TODO: move to .env the emergency distance limit
|
||||
$hub_criteria->setLimitDistance(500);
|
||||
$hub_criteria->setEmergency(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue