mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
avoid unwanted wait in in p3IdService (thx to jolavillette for finding this)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8463 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a4e72da526
commit
dd25e5dc31
@ -708,7 +708,7 @@ bool p3IdService::validateData(const uint8_t *data,uint32_t data_size,const RsTl
|
|||||||
#ifdef DEBUG_IDS
|
#ifdef DEBUG_IDS
|
||||||
std::cerr << " Cannot get key. Waiting for caching. try " << i << "/6" << std::endl;
|
std::cerr << " Cannot get key. Waiting for caching. try " << i << "/6" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
usleep(500 * 1000) ; // sleep for 500 msec.
|
if(force_load) usleep(500 * 1000) ; // sleep for 500 msec.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
break ;
|
break ;
|
||||||
|
Loading…
Reference in New Issue
Block a user