summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Internal.hs')
-rw-r--r--src/Network/BitTorrent/Internal.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/Internal.hs b/src/Network/BitTorrent/Internal.hs
index afe1fff1..918bfed7 100644
--- a/src/Network/BitTorrent/Internal.hs
+++ b/src/Network/BitTorrent/Internal.hs
@@ -89,6 +89,9 @@ import Network.BitTorrent.Peer
89import Network.BitTorrent.Exchange.Protocol as BT 89import Network.BitTorrent.Exchange.Protocol as BT
90import Network.BitTorrent.Tracker.Protocol as BT 90import Network.BitTorrent.Tracker.Protocol as BT
91 91
92{-----------------------------------------------------------------------
93 Progress
94-----------------------------------------------------------------------}
92 95
93-- | 'Progress' contains upload/download/left stats about 96-- | 'Progress' contains upload/download/left stats about
94-- current client state. 97-- current client state.
@@ -109,6 +112,7 @@ startProgress = Progress 0 0
109 Client session 112 Client session
110-----------------------------------------------------------------------} 113-----------------------------------------------------------------------}
111 114
115-- TODO comment thread count bounding
112type ThreadCount = Int 116type ThreadCount = Int
113 117
114defaultThreadCount :: ThreadCount 118defaultThreadCount :: ThreadCount
@@ -169,6 +173,7 @@ newClient n exts = do
169 Swarm session 173 Swarm session
170-----------------------------------------------------------------------} 174-----------------------------------------------------------------------}
171 175
176-- TODO document P2P sessions bounding
172type SessionCount = Int 177type SessionCount = Int
173 178
174defSeederConns :: SessionCount 179defSeederConns :: SessionCount