mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 23:30:14 -04:00
Priority optimization and fixes
This commit is contained in:
parent
c8cf63ae21
commit
e8691e9b0f
5 changed files with 66 additions and 56 deletions
|
@ -1083,6 +1083,8 @@ bool ftServer::sendTurtleItem(const RsPeerId& peerId,const RsFileHash& hash,RsTu
|
|||
if(!encryptItem(item, hash, encrypted_item))
|
||||
return false ;
|
||||
|
||||
encrypted_item->setPriorityLevel(item->priority_level());
|
||||
|
||||
delete item ;
|
||||
|
||||
mTurtleRouter->sendTurtleData(peerId,encrypted_item) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue