Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
7f0a3d8b
Commit
7f0a3d8b
authored
6 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
Changed database for failed jobs
parent
e3e795b7
No related branches found
No related tags found
2 merge requests
!1382
Development
,
!1381
Changed database for failed jobs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/database.php
+1
-1
1 addition, 1 deletion
config/database.php
config/queue.php
+5
-5
5 additions, 5 deletions
config/queue.php
with
6 additions
and
6 deletions
config/database.php
+
1
−
1
View file @
7f0a3d8b
...
...
@@ -48,7 +48,7 @@ return [
'sqlite'
=>
[
'driver'
=>
'sqlite'
,
'database'
=>
database_path
(
env
(
'
DB
_DATABASE'
,
'database.sqlite'
)),
'database'
=>
database_path
(
env
(
'
SQLITE
_DATABASE'
,
'database.sqlite'
)),
'prefix'
=>
''
,
],
...
...
This diff is collapsed.
Click to expand it.
config/queue.php
+
5
−
5
View file @
7f0a3d8b
...
...
@@ -9,7 +9,7 @@ return [
| API, giving you convenient access to each back-end using the same
| syntax for every one. Here you may define a default connection.
|
*/
*/
'default'
=>
env
(
'QUEUE_CONNECTION'
,
'sync'
),
/*
|--------------------------------------------------------------------------
...
...
@@ -22,7 +22,7 @@ return [
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
*/
'connections'
=>
[
'sync'
=>
[
'driver'
=>
'sync'
,
...
...
@@ -64,9 +64,9 @@ return [
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
*/
'failed'
=>
[
'database'
=>
env
(
'DB_CONNECTION'
,
'mysql'
)
,
'database'
=>
'sqlite'
,
'table'
=>
'failed_jobs'
,
],
];
\ No newline at end of file
];
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment