mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Fixed: Limit queue size according to number of file descriptors used
This commit is contained in:
parent
49a9baf217
commit
c01644ae9f
@ -665,6 +665,7 @@ bool ServerDownloadThread::getQueuedFileChunked( std::string& remotefn, IFile*&
|
||||
full_dl)
|
||||
{
|
||||
it->fileclient=EFileClient_Full;
|
||||
queue_size-=queue_items_chunked-queue_items_full;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user