Completed
Push — master ( 59049f...fab486 )
by Tomasz
12:46 queued 02:08
created
src/Gendoria/CommandQueueRabbitMqDriverBundle/Worker/RabbitMqWorker.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,12 +118,12 @@
 block discarded – undo
118 118
         $triesNum = 10;
119 119
         $headers = $msg->get('application_headers')->getNativeData();
120 120
         $retryCount = $this->getRetryCount($headers);
121
-        $retry = ($retryCount < $triesNum - 1);
122
-        $resheduleInS = (5 * $retryCount + 10);
121
+        $retry = ($retryCount < $triesNum-1);
122
+        $resheduleInS = (5 * $retryCount+10);
123 123
 
124 124
         $this->logger->error(
125 125
             sprintf(
126
-                'Error while executing processor (retry count: %d - %s): %s', $retryCount + 1, $retry ? 'retry in ' . $resheduleInS . 's' : 'reject', $e->getMessage()
126
+                'Error while executing processor (retry count: %d - %s): %s', $retryCount+1, $retry ? 'retry in '.$resheduleInS.'s' : 'reject', $e->getMessage()
127 127
             ), array($e->getTraceAsString(), $this, $processor)
128 128
         );
129 129
 
Please login to merge, or discard this patch.