Skip Menu |
 

This queue is for tickets about the AnyEvent-Twitter CPAN distribution.

Report information
The Basics
Id: 51102
Status: resolved
Priority: 0/
Queue: AnyEvent-Twitter

People
Owner: Nobody in particular
Requestors: sugi1982 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug report for AnyEvent::Twitter
Date: Wed, 4 Nov 2009 20:49:33 +0900
To: bug-anyevent-twitter [...] rt.cpan.org
From: Yoshihiro Sugi <sugi1982 [...] gmail.com>
Download (untitled) / with headers
text/plain 427b
Hi, I use AnyEvent::Twitter, and I found a bug in "_schedule_next_tick". This module didn't wait when remaining_hits equals 0. This problem can be cause by following code. http://gist.github.com/225087 $next_tick become negative value when response status equals 400. It should be modified as: 196c196 < $next_tick = $last_req_hdrs->{'x-ratelimit-remaining'} - time; --- Show quoted text
> $next_tick = $remaining_time;
thanks.
Download (untitled) / with headers
text/plain 663b
Hi! On Wed Nov 04 06:52:40 2009, sugi1982@gmail.com wrote: Show quoted text
> Hi, > > I use AnyEvent::Twitter, and I found a bug in "_schedule_next_tick". > This module didn't wait when remaining_hits equals 0. > This problem can be cause by following code. > http://gist.github.com/225087 > > $next_tick become negative value when response status equals 400. > It should be modified as: > > 196c196 > < $next_tick = $last_req_hdrs->{'x-ratelimit-remaining'} - time; > ---
> > $next_tick = $remaining_time;
> > thanks.
Thanks a lot for the bugreport, it was very helpful! I've uploaded the new version to CPAN, version 0.27 should fix this. Greetings, Robin


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.