summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/MainlineDHT.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-19 16:34:03 -0400
committerjoe <joe@jerkface.net>2018-06-19 16:34:03 -0400
commita564eb632153b7e194c7b09fe646817d621c8f40 (patch)
tree2467c8beb405143e65060f40c344cd172af3e743 /src/Network/BitTorrent/MainlineDHT.hs
parentc2df7b1192801862112a0f741014e27d490d12b3 (diff)
Slower onion queries improve performance.
Diffstat (limited to 'src/Network/BitTorrent/MainlineDHT.hs')
-rw-r--r--src/Network/BitTorrent/MainlineDHT.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/MainlineDHT.hs b/src/Network/BitTorrent/MainlineDHT.hs
index 63e67ad3..991473a9 100644
--- a/src/Network/BitTorrent/MainlineDHT.hs
+++ b/src/Network/BitTorrent/MainlineDHT.hs
@@ -629,6 +629,8 @@ newClient swarms addr = do
629 _ -> routing4 routing 629 _ -> routing4 routing
630 R.thisNode <$> readTVar var 630 R.thisNode <$> readTVar var
631 , clientResponseId = return 631 , clientResponseId = return
632 , clientEnterQuery = \_ -> return ()
633 , clientLeaveQuery = \_ _ -> return ()
632 } 634 }
633 635
634 -- TODO: Provide some means of shutting down these five auxillary threads: 636 -- TODO: Provide some means of shutting down these five auxillary threads: