Changeset 4177
- Timestamp:
- Dec 15, 2007, 4:36:43 PM (14 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/fdlimit.c
r4109 r4177 87 87 enum 88 88 { 89 TR_MAX_SOCKETS = 320,89 TR_MAX_SOCKETS = 512, 90 90 91 91 TR_MAX_OPEN_FILES = 8, /* real files, not sockets */ -
trunk/libtransmission/peer-msgs.c
r4053 r4177 73 73 RATE_PULSE_INTERVAL = (250), /* msec between calls to ratePulse() */ 74 74 75 MAX_OUTBUF_SIZE = 4096, 75 /* 13 is the size of the BitTorrent overhead of a BT_PIECE message... 76 * since all (or nearly all) piece requests are 16 K, this typically 77 * means we'd fill a 4096 K outbuf 5 times (4096, 4096, 4096, 4096, 16) 78 * but by adding the 13 here we can shorten it to 4 refills... not sure 79 * if this actually makes any difference since the libevent layer smooths 80 * things out anyway, but it doesn't hurt either... */ 81 MAX_OUTBUF_SIZE = (4096 + 13), 76 82 77 83 /* Fast Peers Extension constants */
Note: See TracChangeset
for help on using the changeset viewer.