added reprocessing rate to process mining taxes ledgers job

This commit is contained in:
2021-03-17 22:20:49 +09:00
parent 62e159c1f2
commit 2e178c8b16
3 changed files with 8 additions and 1 deletions
@@ -82,6 +82,7 @@ class ProcessSendEveMailJob implements ShouldQueue
{
//Declare some variables
$esiHelper = new Esi;
$response = null;
//Get the esi configuration
$config = config('esi');
@@ -115,6 +116,10 @@ class ProcessSendEveMailJob implements ShouldQueue
return null;
}
if($response == null) {
$this->release(30);
}
//Get the error code and take the appropriate action
$errorCode = $response->getErrorCode();