From 8e3bc5aeaebfbc332e102d0e4092364b46890a85 Mon Sep 17 00:00:00 2001 From: joegatt Date: Tue, 17 Sep 2013 15:36:54 +0200 Subject: [PATCH] Make Pantography calls to Twitter API less frequent Avoid exceeding rate limit. --- lib/tasks/joegattnet.rake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/tasks/joegattnet.rake b/lib/tasks/joegattnet.rake index ae6e1eb4..54fb8e65 100644 --- a/lib/tasks/joegattnet.rake +++ b/lib/tasks/joegattnet.rake @@ -5,17 +5,17 @@ namespace :joegattnet do task one_minute: :environment do |t, args| EvernoteNote.sync_all sync_associated - Pantograph.update_saved_timeline end task ten_minutes: :environment do |t, args| Pantograph.publish_next - Pantographer.follow_followers + Pantograph.update_saved_timeline end - # task one_hour: :environment do |t, args| - # Pantograph.publish_next - # end + task one_hour: :environment do |t, args| + # Pantograph.publish_next + Pantographer.follow_followers + end def sync_associated Resource.sync_all_binaries