Queue connection is no longer in a separate DB
This commit is contained in:
parent
da85e85774
commit
5334b7d615
@ -119,22 +119,6 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'jobs' => [
|
|
||||||
'driver' => 'pgsql',
|
|
||||||
'host' => env('DB_JOBS_HOST', '127.0.0.1'),
|
|
||||||
'port' => env('DB_JOBS_PORT', '5432'),
|
|
||||||
'database' => env('DB_JOBS_DATABASE', 'forge'),
|
|
||||||
'username' => env('DB_JOBS_USERNAME', 'forge'),
|
|
||||||
'password' => env('DB_JOBS_PASSWORD', ''),
|
|
||||||
'charset' => 'utf8',
|
|
||||||
'prefix' => '',
|
|
||||||
'prefix_indexes' => true,
|
|
||||||
'schema' => 'public',
|
|
||||||
'sslmode' => 'disable', //depends on your security level https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
|
|
||||||
'sslrootcert' => env('DB_JOBS_SSLROOTCERT', 'config/ssl/ca.crt'),
|
|
||||||
'sslcert' => env('DB_JOBS_SSLCERT', 'config/ssl/client.crt'),
|
|
||||||
'sslkey' => env('DB_JOBS_SSLKEY', 'config/ssl/client.key'),
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -35,7 +35,7 @@ return [
|
|||||||
],
|
],
|
||||||
|
|
||||||
'database' => [
|
'database' => [
|
||||||
'connection' => 'jobs',
|
//'connection' => 'jobs',
|
||||||
'driver' => 'database',
|
'driver' => 'database',
|
||||||
'table' => 'jobs',
|
'table' => 'jobs',
|
||||||
'queue' => 'default',
|
'queue' => 'default',
|
||||||
@ -81,7 +81,7 @@ return [
|
|||||||
|
|
||||||
'failed' => [
|
'failed' => [
|
||||||
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
|
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
|
||||||
'database' => env('DB_JOBS_CONNECTION', 'jobs'),
|
'database' => env('DB_CONNECTION', 'pgsql'),
|
||||||
'table' => 'failed_jobs',
|
'table' => 'failed_jobs',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user