summaryrefslogtreecommitdiff
path: root/src/Data/Torrent/Piece.hs
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-01 11:04:42 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-01 11:04:42 +0400
commit09fbfdacd0b160459baf7827c0d7342bd2ca5983 (patch)
tree41d12dd6a2c67a0f4ef0c747969521d32deaee26 /src/Data/Torrent/Piece.hs
parent0853bc857b370ed5f7a453a18a7b03b28cd3b410 (diff)
Add documentation to Layout module
Diffstat (limited to 'src/Data/Torrent/Piece.hs')
-rw-r--r--src/Data/Torrent/Piece.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent/Piece.hs b/src/Data/Torrent/Piece.hs
index 96624729..27bc4879 100644
--- a/src/Data/Torrent/Piece.hs
+++ b/src/Data/Torrent/Piece.hs
@@ -85,7 +85,7 @@ maxPieceSize = 4 * 1024 * 1024
85{-# INLINE maxPieceSize #-} 85{-# INLINE maxPieceSize #-}
86 86
87minPieceSize :: Int 87minPieceSize :: Int
88minPieceSize = unBlockSize def * 4 88minPieceSize = defaultTransferSize * 4
89{-# INLINE minPieceSize #-} 89{-# INLINE minPieceSize #-}
90 90
91-- | NOTE: Have max and min size constrained to wide used 91-- | NOTE: Have max and min size constrained to wide used