mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Reset bandwidth more often
This commit is contained in:
parent
07952b8fd1
commit
71d2866d70
@ -240,7 +240,7 @@ void CStreamPipe::doThrottle(size_t new_bytes)
|
||||
|
||||
unsigned int ctime=Server->getTimeMS();
|
||||
|
||||
if(ctime-lastresettime>10000)
|
||||
if(ctime-lastresettime>1000)
|
||||
{
|
||||
lastresettime=ctime;
|
||||
curr_bytes=0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user