mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
vpn-watch: set established check counter back to 10min.
we had raised this to 60min because it has restarted all connections if one connection was permanently down. Now it try to start only this one connection again.
This commit is contained in:
@@ -31,8 +31,8 @@ while ( $i == 0){
|
||||
|
||||
$round++;
|
||||
|
||||
# Reset roundcounter after 60 min. To do established check.
|
||||
if ($round > 59) { $round=0; }
|
||||
# Reset roundcounter after 10 min. To do established check.
|
||||
if ($round > 9) { $round=0; }
|
||||
|
||||
if (open(FILE, "<${General::swroot}/vpn/config")) { @vpnsettings = <FILE>;
|
||||
close(FILE);
|
||||
|
||||
Reference in New Issue
Block a user