You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,6 @@ By default, Solid Queue will try to find your configuration under `config/solid_
80
80
81
81
```yml
82
82
production:
83
-
database: queue
84
83
dispatchers:
85
84
- polling_interval: 1
86
85
batch_size: 500
@@ -156,14 +155,7 @@ If processes have no chance of cleaning up before exiting (e.g. if someone pulls
156
155
157
156
### Database configuration
158
157
159
-
You can configure the database used by Solid Queue via the database/databases/connects_to options in `config/solid_queue.yml` (or alternatively via `SolidQueue.connects_to`). By default, a single database is used for both writing and reading when specifying `database: NAME` in the config file. But you can split the writer and reader like this:
160
-
161
-
```yml
162
-
production:
163
-
connects_to:
164
-
writing: :queue_primary
165
-
reading: :queue_replica
166
-
```
158
+
You can configure the database used by Solid Queue via the `config.solid_queue.connects_to` option in the `config/application.rb` or `config/environments/production.rb` config files. By default, a single database is used for both writing and reading called `queue` to match the database configuration you set up during the install.
167
159
168
160
All the options available to Active Record for multiple databases can be used here.
0 commit comments