Skip to content

Commit ebae8d7

Browse files
committed
Update blazer config
1 parent fdcb3bf commit ebae8d7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

config/application.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# FIXME: Why is this necessary.
1414
Dotenv::Railtie.load if Rails.env == 'development'
1515

16-
1716
module Lambda
1817
class Application < Rails::Application
1918
config.i18n.enforce_available_locales = true

config/blazer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data_sources:
77
# statement timeout, in seconds
88
# applies to PostgreSQL only
99
# none by default
10-
timeout: 10
10+
timeout: 30
1111

1212
# time to cache results, in minutes
1313
# can greatly improve speed
@@ -41,7 +41,7 @@ user_class: User
4141
# user_name: name
4242

4343
# optional auth method to use as a before_action (default: nil)
44-
before_action: :require_admin
44+
before_action_method: :require_admin
4545

4646
# email to send checks from
4747
from_email: admin@<%= ENV["APPLICATION_HOST"] %>

0 commit comments

Comments
 (0)