Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix clock interval. Silence deprecation warnings in production

  • Loading branch information...
commit 91ba5a6ea22ab1303756f40010ca951fe4ce4700 1 parent 2e7324f
@rwdaigle authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  clock.rb
  2. +2 −0  config/environments/production.rb
View
2  clock.rb
@@ -5,4 +5,4 @@
$queue.enqueue(job)
end
-every(30.seconds, "WordnikWODLoader.load!")
+every(12.hours, "WordnikWODLoader.load!")
View
2  config/environments/production.rb
@@ -57,4 +57,6 @@
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
+
+ ActiveSupport::Deprecation.silenced = true
end
Please sign in to comment.
Something went wrong with that request. Please try again.