mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00
improved calculation of speed in pqistreamer (was called before only when sending bytes), and prevented situation where no HB is received by the connection is not reset because last HB is 0, causing ghost connected peers in GUI
This commit is contained in:
parent
993d7d4c8f
commit
a5044bd71c
6 changed files with 61 additions and 113 deletions
|
@ -64,6 +64,8 @@ void pqithreadstreamer::data_tick()
|
|||
sleep_period = mSleepPeriod;
|
||||
isactive = mBio->isactive();
|
||||
}
|
||||
|
||||
updateRates() ;
|
||||
|
||||
if (!isactive)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue