mirror of
https://github.com/transmission/transmission
synced 2024-12-27 10:07:40 +00:00
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.
This commit is contained in:
parent
f661504d66
commit
f8d38a180e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ enum
|
||||||
KEEPALIVE_INTERVAL_SECS = 100,
|
KEEPALIVE_INTERVAL_SECS = 100,
|
||||||
|
|
||||||
PEX_INTERVAL = (90 * 1000), /* msec between sendPex() calls */
|
PEX_INTERVAL = (90 * 1000), /* msec between sendPex() calls */
|
||||||
PEER_PULSE_INTERVAL = (50), /* msec between peerPulse() calls */
|
PEER_PULSE_INTERVAL = (250), /* msec between peerPulse() calls */
|
||||||
RATE_PULSE_INTERVAL = (250), /* msec between ratePulse() calls */
|
RATE_PULSE_INTERVAL = (250), /* msec between ratePulse() calls */
|
||||||
|
|
||||||
MAX_QUEUE_SIZE = (100),
|
MAX_QUEUE_SIZE = (100),
|
||||||
|
|
Loading…
Reference in a new issue