Changeset 6626


Ignore:
Timestamp:
Aug 22, 2008, 3:15:02 PM (13 years ago)
Author:
charles
Message:

according to vraa's profiling, the highest CPU hit other than encryption is in peerPulse(). do we really need to call it every 50 msec? change the peerPulse() interval to 250 msec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-msgs.c

    r6624 r6626  
    6969
    7070    PEX_INTERVAL            = (90 * 1000), /* msec between sendPex() calls */
    71     PEER_PULSE_INTERVAL     = (50),        /* msec between peerPulse() calls */
     71    PEER_PULSE_INTERVAL     = (250),       /* msec between peerPulse() calls */
    7272    RATE_PULSE_INTERVAL     = (250),       /* msec between ratePulse() calls */
    7373
Note: See TracChangeset for help on using the changeset viewer.