diff options
author | joe <joe@jerkface.net> | 2018-06-16 17:56:17 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2018-06-16 17:56:17 -0400 |
commit | bf923a15b5865f515db036a23ee43ada38f2c861 (patch) | |
tree | 4fbb00e846f1ba89d0275312b1717c534725f311 /Connection/Tox.hs | |
parent | 2f3dc306c9416655666df8e627dabbb40fca88ab (diff) |
Disable freshenContact thread.
Diffstat (limited to 'Connection/Tox.hs')
-rw-r--r-- | Connection/Tox.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Connection/Tox.hs b/Connection/Tox.hs index 42a64a6d..a131253d 100644 --- a/Connection/Tox.hs +++ b/Connection/Tox.hs | |||
@@ -175,11 +175,13 @@ setToxPolicy params conmap k@(Key me them) policy = case policy of | |||
175 | persuing <- launch ("persue:"++show k) | 175 | persuing <- launch ("persue:"++show k) |
176 | (G.InProgress $ toEnum 0) | 176 | (G.InProgress $ toEnum 0) |
177 | $ persueContact getPolicy get_status persue_methods | 177 | $ persueContact getPolicy get_status persue_methods |
178 | {- | ||
178 | refreshing <- launch ("refresh:"++show k) | 179 | refreshing <- launch ("refresh:"++show k) |
179 | (G.InProgress $ toEnum 0) | 180 | (G.InProgress $ toEnum 0) |
180 | $ freshenContact getPolicy get_status freshen_methods | 181 | $ freshenContact getPolicy get_status freshen_methods |
182 | -} | ||
181 | atomically $ do | 183 | atomically $ do |
182 | writeTVar (sessionTasks st) $ SessionTasks persuing refreshing | 184 | writeTVar (sessionTasks st) $ SessionTasks persuing _refreshing |
183 | let routing = dhtRouting params | 185 | let routing = dhtRouting params |
184 | Key _ nid = k | 186 | Key _ nid = k |
185 | registerNodeCallback routing $ NodeInfoCallback | 187 | registerNodeCallback routing $ NodeInfoCallback |