|
|
| version 1.2, 2025/02/09 03:04:35 | version 1.3, 2025/02/09 03:28:53 |
|---|---|
| Line 9 | Line 9 |
| # Licensed AGPL-3.0 | # Licensed AGPL-3.0 |
| # | # |
| # $Log$ | # $Log$ |
| # Revision 1.3 2025/02/09 03:28:53 snw | |
| # Increase heartbeat response failure threshold from 5 to 60 secs | |
| # | |
| # Revision 1.2 2025/02/09 03:04:35 snw | # Revision 1.2 2025/02/09 03:04:35 snw |
| # Add heartbeat | # Add heartbeat |
| # | # |
| Line 112 sub simulate_load | Line 115 sub simulate_load |
| } | } |
| if($hbchk_pending == 1) { | if($hbchk_pending == 1) { |
| if(time() - $heartbeat > 5) { | if(time() - $heartbeat > 60) { |
| die "$botsn: heartbeat check FAILED; bot terminating\n"; | die "$botsn: heartbeat check FAILED; bot terminating\n"; |
| } | } |
| } | } |