This commit is contained in:
jl777
2017-02-25 18:30:26 +02:00
parent 5c92f750f3
commit fe9dc3b890
2 changed files with 6 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
// Tell the main threads to shutdown. // Tell the main threads to shutdown.
while (!fShutdown) while (!fShutdown)
{ {
MilliSleep(16000); MilliSleep(10000);
komodo_passport_iteration(); komodo_passport_iteration();
fShutdown = ShutdownRequested(); fShutdown = ShutdownRequested();
} }

View File

@@ -472,8 +472,11 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to
break; break;
sleep(1); sleep(1);
} }
printf("%s not realtime ht.%d\n",ASSETCHAINS_SYMBOL,ht); if ( i == 10 )
return(0); {
printf("%s not realtime ht.%d\n",ASSETCHAINS_SYMBOL,ht);
return(0);
}
} }
else else
{ {