Setup solid_cable #55
2 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,12 @@
|
||||||
# not a terminal started via bin/rails console! Add "console" to any action or any ERB template view
|
# not a terminal started via bin/rails console! Add "console" to any action or any ERB template view
|
||||||
# to make the web console appear.
|
# to make the web console appear.
|
||||||
development:
|
development:
|
||||||
adapter: async
|
adapter: solid_cable
|
||||||
|
connects_to:
|
||||||
|
database:
|
||||||
|
writing: cable
|
||||||
|
polling_interval: 0.1.seconds
|
||||||
|
message_retention: 1.day
|
||||||
|
|
||||||
test:
|
test:
|
||||||
adapter: test
|
adapter: test
|
||||||
|
|
|
@ -21,6 +21,10 @@ development:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: storage/development_queue.sqlite3
|
database: storage/development_queue.sqlite3
|
||||||
migrations_paths: db/queue_migrate
|
migrations_paths: db/queue_migrate
|
||||||
|
cable:
|
||||||
|
<<: *default
|
||||||
|
database: storage/development_cable.sqlite3
|
||||||
|
migrations_paths: db/cable_migrate
|
||||||
|
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
# Warning: The database defined as "test" will be erased and
|
||||||
|
|
Loading…
Reference in a new issue