mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
restored average kicking rate to a more reasonnable value. To be tested (for too much CPU use). Dynamically changing this value is probably needed for VOIP
This commit is contained in:
parent
3bc3989e79
commit
6d2bfcf04e
@ -69,8 +69,12 @@ static double getCurrentTS()
|
|||||||
return cts;
|
return cts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// These values should be tunable from the GUI, to offer a compromise between speed and CPU use.
|
||||||
|
// In some cases (VOIP) it's likely that we will need to set them temporarily to a very low
|
||||||
|
// value, in order to favor a fast feedback
|
||||||
|
|
||||||
const double RsServer::minTimeDelta = 0.05; // 25;
|
const double RsServer::minTimeDelta = 0.05; // 25;
|
||||||
const double RsServer::maxTimeDelta = 0.1;
|
const double RsServer::maxTimeDelta = 0.2;
|
||||||
const double RsServer::kickLimit = 0.15;
|
const double RsServer::kickLimit = 0.15;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user