Parcourir la source

Fix: wrong value used when capping polling frequency

Rod Hynes il y a 10 ans
Parent
commit
2cbeddb3bf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      psiphon/meekConn.go

+ 1 - 1
psiphon/meekConn.go

@@ -451,7 +451,7 @@ func (meek *MeekConn) relay() {
 		} else {
 			interval = time.Duration(float64(interval) * POLL_INTERNAL_MULTIPLIER)
 			if interval >= MAX_POLL_INTERVAL {
-				interval = MIN_POLL_INTERVAL
+				interval = MAX_POLL_INTERVAL
 			}
 		}
 	}