Skip to content
Browse files

Fix clock interval. Silence deprecation warnings in production

  • Loading branch information...
1 parent 2e7324f commit 91ba5a6ea22ab1303756f40010ca951fe4ce4700 @rwdaigle committed May 3, 2012
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

0 comments on commit 91ba5a6

Please sign in to comment.
Something went wrong with that request. Please try again.