| App-MadEye documentation | Contained in the App-MadEye distribution. |
App::MadEye::Plugin::Agent::Sleep - every time timeout
THIS MODULE IS ONLY FOR DEBUGGING.
type: map
mapping:
target:
type: seq
required: yes
sequence:
- type: str
sleep:
required: yes
type: int
Tokuhiro Matsuno
| App-MadEye documentation | Contained in the App-MadEye distribution. |
package App::MadEye::Plugin::Agent::Sleep; use strict; use warnings; use App::MadEye::Plugin::Agent::Base; sub is_dead { my ($self, $host) = @_; my $conf = $self->config->{config}; my $sleep = $conf->{sleep} or die "missing sleep"; sleep $sleep; return; } 1; __END__