diff options
author | Francis Irving <francis@mysociety.org> | 2010-03-27 22:23:59 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-03-27 22:23:59 +0000 |
commit | ee3ae00a6f8e0a691d772783e7b68b477d62e85d (patch) | |
tree | c389fa0d1cfdbb2e528f11e5c5771013c9a7c715 | |
parent | d85bbe7b2433758c77bb8993a343c244c2f21379 (diff) |
Timing
-rw-r--r-- | app/models/track_mailer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/track_mailer.rb b/app/models/track_mailer.rb index 9d8e8348d..375fc8245 100644 --- a/app/models/track_mailer.rb +++ b/app/models/track_mailer.rb @@ -33,12 +33,12 @@ class TrackMailer < ApplicationMailer now = Time.now() users = User.find(:all, :conditions => [ "last_daily_track_email < ?", now - 1.day ]) for user in users - #STDERR.puts "user " + user.url_name + STDERR.puts Time.now.to_s + " user " + user.url_name email_about_things = [] track_things = TrackThing.find(:all, :conditions => [ "tracking_user_id = ? and track_medium = ?", user.id, 'email_daily' ]) for track_thing in track_things - #STDERR.puts " track " + track_thing.track_query + STDERR.puts Time.now.to_s + " track " + track_thing.track_query # What have we alerted on already? done_info_request_events = {} |