mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
async distant messaging should work, but needs soem more testing. Use with care
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c9d5c7b3cb
commit
6b84be37de
4 changed files with 54 additions and 34 deletions
|
@ -162,9 +162,9 @@ bool GRouterMatrix::computeRoutingProbabilities(const GRouterKeyId& key_id, cons
|
|||
|
||||
if(it2 == _time_combined_hits.end())
|
||||
{
|
||||
// The key is not known. In this case, we return equal probabilities for all peers.
|
||||
//
|
||||
float p = 1.0f / friends.size() ;
|
||||
// The key is not known. In this case, we return a zero probability for all peers.
|
||||
//
|
||||
float p = 0.0f;//1.0f / friends.size() ;
|
||||
|
||||
probas.clear() ;
|
||||
probas.resize(friends.size(),p) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue