Skip to content

Commit

Permalink
updated to use unreleased Squatting 0.70 style Continuity usage
Browse files Browse the repository at this point in the history
  • Loading branch information
beppu committed Jun 14, 2009
1 parent 68a09d5 commit 54c696e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chat/Chat.pm
Expand Up @@ -168,7 +168,7 @@ our @C = (
),

C(
Event => [ '/@event' ],
Event => [ '/@event/(\d+)' ],
get => sub {
warn "coro [$Coro::current]";
my ($self) = shift;
Expand Down Expand Up @@ -211,7 +211,7 @@ our @C = (
for (@coros) { $_->cancel }
}
},
queue => { get => 'event' },
continuity => 1,
),
);

Expand Down
2 changes: 1 addition & 1 deletion chat/chat.js
Expand Up @@ -35,7 +35,7 @@ $(function(){

// listen for events
if ($chat.listen) {
$.ev.loop('/@event', $chat.listen);
$.ev.loop('/@event/'+Date.now(), $chat.listen);
}

});

0 comments on commit 54c696e

Please sign in to comment.