Changeset 52bb5975ca85e5ffcef8f40cddb41f5d2c03a1d9
- Timestamp:
- 03/24/09 17:41:19
(4 years ago)
- Author:
- Mark Harrison <mark@omniti.com>
- git-committer:
- Mark Harrison <mark@omniti.com> 1237916479 +0000
- git-parent:
[304858fd9795d803984005eb49e4f64a65d7a803]
- git-author:
- Mark Harrison <mark@omniti.com> 1237916479 +0000
- Message:
Per check timeout values with check_timeout paramater
git-svn-id: https://labs.omniti.com/resmon/trunk@169 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r6dd8f28 |
r52bb597 |
|
| 135 | 135 | eval { |
|---|
| 136 | 136 | local $SIG{ALRM} = sub { die "alarm\n" }; |
|---|
| 137 | | alarm $config->{timeout}; |
|---|
| | 137 | my $timeout = $monobj->{'check_timeout'} || $config->{'timeout'}; |
|---|
| | 138 | alarm($timeout); |
|---|
| 138 | 139 | if($coderef) { |
|---|
| 139 | 140 | ($check_rv, $check_mess) = $coderef->($monobj); |
|---|