mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Faster processing of the gpg keys for discovery.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c9911694ff
commit
f82a9a3c5f
@ -359,16 +359,16 @@ void AuthGPGimpl::run()
|
|||||||
while (m_bRun)
|
while (m_bRun)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
Sleep(1000);
|
Sleep(100);
|
||||||
#else
|
#else
|
||||||
sleep(1);
|
usleep(100000);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* every second */
|
/* every 100 milliseconds */
|
||||||
processServices();
|
processServices();
|
||||||
|
|
||||||
/* every minute */
|
/* every minute */
|
||||||
if (++count >= 60) {
|
if (++count >= 600) {
|
||||||
storeAllKeys_tick();
|
storeAllKeys_tick();
|
||||||
count = 0;
|
count = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user