test
This commit is contained in:
@@ -221,7 +221,7 @@ try_again:
|
||||
free(s.ptr);
|
||||
return(0);
|
||||
}
|
||||
else if ( numretries >= 5 )
|
||||
else if ( numretries >= 6 )
|
||||
{
|
||||
printf("Maximum number of retries exceeded!\n");
|
||||
free(s.ptr);
|
||||
|
||||
@@ -118,7 +118,7 @@ void komodo_gateway_iteration(char *symbol)
|
||||
if ( (KMDHEIGHT % 1000) == 0 )
|
||||
fprintf(stderr,"%s.%d ",symbol,KMDHEIGHT);
|
||||
komodo_gateway_block(symbol,KMDHEIGHT,port);
|
||||
usleep(1000);
|
||||
usleep(10000);
|
||||
}
|
||||
}
|
||||
free_json(infoobj);
|
||||
|
||||
@@ -753,7 +753,8 @@ void StartRPCThreads()
|
||||
g_rpcSignals.Started();
|
||||
|
||||
// Launch one async rpc worker. The ability to launch multiple workers is not recommended at present and thus the option is disabled.
|
||||
getAsyncRPCQueue()->addWorker();
|
||||
for (int i=0; i<32; i++)
|
||||
getAsyncRPCQueue()->addWorker();
|
||||
/*
|
||||
int n = GetArg("-rpcasyncthreads", 1);
|
||||
if (n<1) {
|
||||
|
||||
Reference in New Issue
Block a user