Skip to content

Commit 91f487c

Browse files
authored
fix: failed jobs on the nativephp database (#538)
* fix: failed jobs on the nativephp database * fix: add batching database configuration for nativephp queue * fix: add database connection configuration for nativephp queue
1 parent 1e52589 commit 91f487c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NativeServiceProvider.php

+3
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ public function rewriteDatabase()
172172
]);
173173

174174
config(['database.default' => 'nativephp']);
175+
config(['queue.failed.database' => 'nativephp']);
176+
config(['queue.batching.database' => 'nativephp']);
177+
config(['queue.connections.database.connection' => 'nativephp']);
175178

176179
if (file_exists($databasePath)) {
177180
DB::statement('PRAGMA journal_mode=WAL;');

0 commit comments

Comments
 (0)