changes to tag sub processing
This commit is contained in:
@@ -131,6 +131,7 @@ class TagSubscription < ActiveRecord::Base
|
||||
begin
|
||||
tag_subscription.process
|
||||
tag_subscription.save
|
||||
sleep 0
|
||||
rescue Exception => x
|
||||
raise if Rails.env != "production"
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
set :output, "/var/log/whenever.log"
|
||||
|
||||
every 1.hour do
|
||||
every 4.hours do
|
||||
runner "TagSubscription.process_all"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user