Damien Krotkine > Action-Retry-0.18 > Action::Retry::Strategy::Constant

Download:
Action-Retry-0.18.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.18   Source   Latest Release: Action-Retry-0.24

NAME ^

Action::Retry::Strategy::Constant - Constant sleep time strategy

VERSION ^

version 0.18

SYNOPSIS ^

To be used as strategy in Action::Retry

ATTRIBUTES ^

sleep_time

  ro, Int, defaults to 1000 ( 1 second )

The number of milliseconds to wait between retries

max_retries_number

  ro, Int|Undef, defaults to 10

The number of times we should retry before giving up. If set to undef, never stop retrying

AUTHOR ^

Damien "dams" Krotkine

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Damien "dams" Krotkine.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: