X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ddb7f33868ea499ab8f48a7062f145e8c0fbe02f..refs/pull/3081/head:/app/Config/queue.php diff --git a/app/Config/queue.php b/app/Config/queue.php index 46f6962c5..0f5ee3ce5 100644 --- a/app/Config/queue.php +++ b/app/Config/queue.php @@ -17,31 +17,34 @@ return [ // Queue connection configuration 'connections' => [ - 'sync' => [ 'driver' => 'sync', ], 'database' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', - 'retry_after' => 90, + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + 'after_commit' => false, ], 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - 'queue' => env('REDIS_QUEUE', 'default'), - 'retry_after' => 90, - 'block_for' => null, + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + 'after_commit' => false, ], ], // Failed queue job logging 'failed' => [ - 'database' => 'mysql', 'table' => 'failed_jobs', + 'driver' => 'database-uuids', + 'database' => 'mysql', + 'table' => 'failed_jobs', ], ];