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:
csoler 2015-04-17 21:37:26 +00:00
parent c9d5c7b3cb
commit 6b84be37de
4 changed files with 54 additions and 34 deletions

View file

@ -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) ;