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:
thunder2 2011-01-09 12:31:41 +00:00
parent c9911694ff
commit f82a9a3c5f

View File

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