Skip to content

Commit bee4578

Browse files
committed
Go back to just leaning on connects_to for now
1 parent 270903d commit bee4578

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ By default, Solid Queue will try to find your configuration under `config/solid_
8080

8181
```yml
8282
production:
83-
database: queue
8483
dispatchers:
8584
- polling_interval: 1
8685
batch_size: 500
@@ -156,14 +155,7 @@ If processes have no chance of cleaning up before exiting (e.g. if someone pulls
156155

157156
### Database configuration
158157

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.
167159

168160
All the options available to Active Record for multiple databases can be used here.
169161

0 commit comments

Comments
 (0)