Skip to content

Commit 99178d3

Browse files
mrotondoanisharamnanijenny-heath
authored
change database config to leave out solidqueue for now, to see if it fixes production (#68)
Co-authored-by: Anisha Ramnani <aramnani@codeforamerica.org> Co-authored-by: Jenny Heath <jheath@codeforamerica.org>
1 parent 860cd13 commit 99178d3

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

config/database.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,8 @@ deploy_default: &deploy_default
8686
# Read https://guides.rubyonrails.org/configuring.html#configuring-a-database
8787
# for a full overview on how database connection configuration can be specified.
8888
#
89-
production: &production_like
90-
primary:
91-
<<: *deploy_default
92-
queue:
93-
<<: *deploy_default
94-
migrations_paths: db/queue_migrate
89+
production:
90+
<<: *deploy_default
9591

9692
demo:
97-
<<: *production_like
93+
<<: *deploy_default

config/environments/demo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# Don't log any deprecations.
4444
config.active_support.report_deprecations = false
4545

46-
# Replace the default in-process memory cache store with a durable alternative.
46+
# Disable caching
4747
config.cache_store = :null_store
4848

4949
# Replace the default in-process and non-durable queuing backend for Active Job.

0 commit comments

Comments
 (0)