Skip to content

Commit

Permalink
reduce min chunk count to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hauxir committed Nov 6, 2019
1 parent 8a2aeb8 commit 0f168d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/torrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def prioritize_last_n_pieces(h, f, n):
def get_prioritized_padding(h, f):
min_file_padding = 2000000
return max(
math.ceil(min_file_padding * 1.0 / get_torrent_info(h).piece_length()), 3
math.ceil(min_file_padding * 1.0 / get_torrent_info(h).piece_length()), 2
)


Expand Down

0 comments on commit 0f168d4

Please sign in to comment.