summaryrefslogtreecommitdiff
path: root/src/Data/Torrent/Piece.hs
diff options
context:
space:
mode:
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