Skip to content

Commit

Permalink
ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
yappo committed Oct 14, 2009
1 parent ef67186 commit cd07f33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fast-twitter-stream.psgi
@@ -1,3 +1,5 @@
use strict;
use warnings;
use Coro;
use Coro::Channel;
use Coro::AnyEvent;
Expand All @@ -21,7 +23,7 @@ my $app = sub {
if ( $req->path eq '/push' ) {
my $now = ++$count;
$queue{$count} = Coro::Channel->new;
my $close = sub { $queu{$now}->shutdown; delete $queue{$now} };
my $close = sub { $queue{$now}->shutdown; delete $queue{$now} };
$streamer ||= AnyEvent::Twitter::Stream->new(
username => $username,
password => $password,
Expand Down

0 comments on commit cd07f33

Please sign in to comment.