We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c2101 commit aa01cedCopy full SHA for aa01ced
src/Illuminate/Queue/Jobs/Job.php
@@ -232,10 +232,10 @@ public function fail($e = null)
232
*/
233
protected function shouldRollBackDatabaseTransaction($e)
234
{
235
- return ($e instanceof TimeoutExceededException &&
+ return $e instanceof TimeoutExceededException &&
236
$this->container['config']['queue.failed.database'] &&
237
in_array($this->container['config']['queue.failed.driver'], ['database', 'database-uuids']) &&
238
- $this->container->bound('db'));
+ $this->container->bound('db');
239
}
240
241
/**
0 commit comments