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