Changeset 3796


Ignore:
Timestamp:
Nov 11, 2007, 8:27:13 PM (15 years ago)
Author:
charles
Message:

Increase the intervals on timers that won't affect performance. This reduces most of Transmission's PowerTOP footprint.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/shared.c

    r3775 r3796  
    8080    s->natpmp     = tr_natpmpInit();
    8181    s->upnp       = tr_upnpInit();
    82     s->pulseTimer   = tr_timerNew( h, SharedLoop, s, 250 );
     82    s->pulseTimer   = tr_timerNew( h, SharedLoop, s, 500 );
    8383
    8484    return s;
  • trunk/libtransmission/trevent.c

    r3775 r3796  
    229229    eh->lock = tr_lockNew( );
    230230    eh->h = handle;
    231     eh->pulseInterval = timevalMsec( 20 );
     231    eh->pulseInterval = timevalMsec( 100 );
    232232    eh->thread = tr_threadNew( libeventThreadFunc, eh, "libeventThreadFunc" );
    233233}
Note: See TracChangeset for help on using the changeset viewer.