Changeset 1284c7a


Ignore:
Timestamp:
Jul 30, 2013 9:50:07 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
04e6beb
Parents:
63414f0
Message:
  • i2psnark: Increase max piece size to 4 MB (ticket #993)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/Storage.java

    r63414f0 r1284c7a  
    7979  /** The default piece size. */
    8080  private static final int DEFAULT_PIECE_SIZE = 256*1024;
    81   /** note that we start reducing max number of peer connections above 1MB */
    82   public static final int MAX_PIECE_SIZE = 2*1024*1024;
     81  /** bigger than this will be rejected */
     82  public static final int MAX_PIECE_SIZE = 4*1024*1024;
    8383  /** The maximum number of pieces in a torrent. */
    8484  public static final int MAX_PIECES = 10*1024;
Note: See TracChangeset for help on using the changeset viewer.