diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-01 11:04:42 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-01 11:04:42 +0400 |
commit | 09fbfdacd0b160459baf7827c0d7342bd2ca5983 (patch) | |
tree | 41d12dd6a2c67a0f4ef0c747969521d32deaee26 /src/Data/Torrent/Piece.hs | |
parent | 0853bc857b370ed5f7a453a18a7b03b28cd3b410 (diff) |
Add documentation to Layout module
Diffstat (limited to 'src/Data/Torrent/Piece.hs')
-rw-r--r-- | src/Data/Torrent/Piece.hs | 2 |
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 | ||
87 | minPieceSize :: Int | 87 | minPieceSize :: Int |
88 | minPieceSize = unBlockSize def * 4 | 88 | minPieceSize = 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 |