Skip to content

Commit

Permalink
Comment out resque
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed May 23, 2011
1 parent f6712f6 commit 14ba8d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ require File.dirname(__FILE__) + "/jobs/index_tweet"

STDOUT.sync = true

Pusher.app_id = 5700 # Fix this!
#Pusher.app_id = 5700 # Fix this!

task "tweetstream:stream" do
TweetStream::Client.new(ENV["TWITTER_USERNAME"], ENV["TWITTER_PASSWORD"]).track(ENV["TWITTER_KEYWORD"]) do |status|
puts "Processing tweet: #{status[:text]}"
Resque.enqueue(IndexTweet, status)
#Resque.enqueue(IndexTweet, status)
Pusher['tweets'].trigger('tweet', status)
end
end
Expand Down

0 comments on commit 14ba8d1

Please sign in to comment.