summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Crypto
diff options
context:
space:
mode:
authorjim@bo <jim@bo>2018-06-22 03:52:12 -0400
committerjim@bo <jim@bo>2018-06-22 03:52:12 -0400
commitca844a01c1fd996eab830457271306e95651a174 (patch)
treeb81473c32659783ed23dba7f880ad42ac7a8cc4b /src/Network/Tox/Crypto
parenta4af87c425950ff6697a67ae5acb7abd2108580f (diff)
longer ncRequestInterval (easier debugging)
Diffstat (limited to 'src/Network/Tox/Crypto')
-rw-r--r--src/Network/Tox/Crypto/Handlers.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/Crypto/Handlers.hs b/src/Network/Tox/Crypto/Handlers.hs
index 2211e0f2..03207e06 100644
--- a/src/Network/Tox/Crypto/Handlers.hs
+++ b/src/Network/Tox/Crypto/Handlers.hs
@@ -632,7 +632,7 @@ freshCryptoSession sessions
632 ncPingMachine0 <- newTVar Nothing 632 ncPingMachine0 <- newTVar Nothing
633 ncPingThread0 <- newTVar Nothing 633 ncPingThread0 <- newTVar Nothing
634 ncIdleEventThread0 <- newTVar Nothing 634 ncIdleEventThread0 <- newTVar Nothing
635 ncRequestInterval0 <- newTVar 2000 -- (TODO: shrink this) long interval while debugging slows trace flood 635 ncRequestInterval0 <- newTVar 7000 -- (TODO: shrink this) long interval while debugging slows trace flood
636 ncAliveInterval0 <- newTVar 8000 -- 8 seconds 636 ncAliveInterval0 <- newTVar 8000 -- 8 seconds
637 -- ping Machine parameters 637 -- ping Machine parameters
638 fuzz <- return 0 -- randomRIO (0,2000) -- Fuzz to prevent simultaneous ping/pong exchanges. 638 fuzz <- return 0 -- randomRIO (0,2000) -- Fuzz to prevent simultaneous ping/pong exchanges.