Skip to content

Commit d992885

Browse files
committed
set verbose enqueue logs to true and change default url options
1 parent 4dc5cc3 commit d992885

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/environments/staging.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
# Replace the default in-process memory cache store with a durable alternative.
4343
config.cache_store = :solid_cache_store
4444

45+
# Highlight code that enqueued background job in logs.
46+
# config.active_job.verbose_enqueue_logs = ENV.fetch("RAILS_LOG_LEVEL", "info").downcase == "debug"
47+
config.active_job.verbose_enqueue_logs = true
48+
4549
# Replace the default in-process and non-durable queuing backend for Active Job.
4650
config.active_job.queue_adapter = :solid_queue
4751
config.solid_queue.connects_to = {database: {writing: :queue}}
@@ -51,7 +55,7 @@
5155
# config.action_mailer.raise_delivery_errors = false
5256

5357
# Set host to be used by links generated in mailer templates.
54-
config.action_mailer.default_url_options = {host: "staging.wrsat.codeforamerica.app"}
58+
config.action_mailer.default_url_options = {host: "development.wrsat.codeforamerica.app"}
5559
config.action_mailer.delivery_method = :ses_v2
5660

5761
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.

0 commit comments

Comments
 (0)