mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
fix formatting
This commit is contained in:
parent
9e2c775d5c
commit
fd8b11ec70
1 changed files with 3 additions and 3 deletions
|
|
@ -35,11 +35,11 @@ To dispatch a job such that it will run centrally under all circumstances, creat
|
|||
```jsx
|
||||
// queue.connections
|
||||
'central' => [
|
||||
'driver' => 'database',
|
||||
'driver' => 'database',
|
||||
'table' => 'jobs',
|
||||
'queue' => 'default',
|
||||
'retry_after' => 90,
|
||||
'central' => true, // <---
|
||||
'central' => true, // <---
|
||||
],
|
||||
```
|
||||
|
||||
|
|
@ -47,4 +47,4 @@ And use this connection like this:
|
|||
|
||||
```jsx
|
||||
dispatch(new SomeJob(...))->onConnection('central');
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue