Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the LWPx-ParanoidAgent CPAN distribution.

Report information
The Basics
Id: 83717
Status: resolved
Priority: 0/
Queue: LWPx-ParanoidAgent

People
Owner: Nobody in particular
Requestors: CXREG [...] cpan.org
Cc:
AdminCc:

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



Subject: Allow high resolution timeouts
It would be nice if the much-improved timeout handling of LWPx- ParanoidAgent used Time::HiRes instead of the built-in time() function. Currently it misbehaves if you use a sub-second timeout and the request begins near the end of the current second (you can get a failure after 0.0001 seconds for a 0.1 second timeout, for example) This can be fixed by a simple "use Time::HiRes qw(time)"
On Fri Mar 01 14:59:44 2013, CXREG wrote: Show quoted text
> It would be nice if the much-improved timeout handling of LWPx- > ParanoidAgent used Time::HiRes instead of the built-in time() function. > Currently it misbehaves if you use a sub-second timeout and the request > begins near the end of the current second (you can get a failure after > 0.0001 seconds for a 0.1 second timeout, for example) > > This can be fixed by a simple "use Time::HiRes qw(time)"
https://github.com/csirtgadgets/LWPx-ParanoidAgent/issues/5