Browse Source

RPC: Remove unnecessary delay from RPC server startup

Luke Dashjr 12 years ago
parent
commit
c632697e8b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      api.c

+ 0 - 4
api.c

@@ -3898,10 +3898,6 @@ void api(int api_thr_id)
 		}
 	}
 
-	/* This should be done before curl in needed
-	 * to ensure curl has already called WSAStartup() in windows */
-	cgsleep_ms(opt_log_interval*1000);
-
 	*apisock = socket(AF_INET, SOCK_STREAM, 0);
 	if (*apisock == INVSOCK) {
 		applog(LOG_ERR, "API1 initialisation failed (%s)%s", SOCKERRMSG, UNAVAILABLE);