AnyEvent::Retry::Interval::Fibonacci - fibonacci back-off
version 0.03
AnyEvent::Retry::Interval that waits longer and longer after each failed attempt.
AnyEvent::Retry::Interval
A number greater than 0 that the fibonacci number is multiplied by before being returned. For example, to wait 1 millisecond, then 1 millisecond, then 2 milliseconds, then 3 ..., pass scale = 1/1000>.
scale =
The fibonacci number is computed with Math::Fibonacci. This may yield slightly different results from the iterative F(n) = F(n-2) + F(n-1) method.
F(n) = F(n-2) + F(n-1)
Jonathan Rockway <jrockway@cpan.org>
This software is copyright (c) 2010 by Jonathan Rockway.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install AnyEvent::Retry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Retry
CPAN shell
perl -MCPAN -e shell install AnyEvent::Retry
For more information on module installation, please visit the detailed CPAN module installation guide.