diff options
| author | 2015-11-29 00:48:38 +0400 | |
|---|---|---|
| committer | 2015-11-29 00:48:38 +0400 | |
| commit | dfed815d7191294f6fdf8f7687676c52cbd26409 (patch) | |
| tree | d88b222ab7411981a1a8a0b975f6fb666c3d51bf /lib | |
| parent | 1b274f2ff5d2d62b4de643cf1201da889c4cd730 (diff) | |
Actually increment pongcount every call
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ASM/Event.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASM/Event.pm b/lib/ASM/Event.pm index c85313c..905ada8 100644 --- a/lib/ASM/Event.pm +++ b/lib/ASM/Event.pm @@ -156,7 +156,7 @@ sub on_pong if ($lag > 1) { ASM::Util->dprint("Latency: $lag", 'latency'); } - if (($pongcount % 3) == 0) { #easiest way to do something roughly every 90 seconds + if (($pongcount++ % 3) == 0) { #easiest way to do something roughly every 90 seconds $conn->sl('STATS p'); } if ( @::syncqueue || $::netsplit_ignore_lag ) { |
