Ignore:
Timestamp:
Nov 26, 2008, 2:57:32 AM (12 years ago)
Author:
charles
Message:

(libT) performance tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/iobuf.c

    r7154 r7157  
    127127    short what = EVBUFFER_READ;
    128128    struct tr_iobuf * b = arg;
    129     const size_t howmuch = tr_bandwidthClamp( b->bandwidth, TR_DOWN, 2048 );
     129    const size_t howmuch = tr_bandwidthClamp( b->bandwidth, TR_DOWN, b->session->so_rcvbuf );
    130130
    131131    assert( isBuf( b ) );
Note: See TracChangeset for help on using the changeset viewer.