[Udt-java-commits] SF.net SVN: udt-java:[65] udt-java/trunk/src/main/java/udt/UDTClient.java
Status: Alpha
Brought to you by:
bschuller
From: <bsc...@us...> - 2011-10-16 11:41:29
|
Revision: 65 http://udt-java.svn.sourceforge.net/udt-java/?rev=65&view=rev Author: bschuller Date: 2011-10-16 11:41:23 +0000 (Sun, 16 Oct 2011) Log Message: ----------- remove Thread.sleep call, and reduce waiting interval while waiting for session to become ready Modified Paths: -------------- udt-java/trunk/src/main/java/udt/UDTClient.java Modified: udt-java/trunk/src/main/java/udt/UDTClient.java =================================================================== --- udt-java/trunk/src/main/java/udt/UDTClient.java 2011-08-16 17:56:07 UTC (rev 64) +++ udt-java/trunk/src/main/java/udt/UDTClient.java 2011-10-16 11:41:23 UTC (rev 65) @@ -85,10 +85,9 @@ clientSession.connect(); //wait for handshake while(!clientSession.isReady()){ - Thread.sleep(500); + Thread.sleep(5); } logger.info("The UDTClient is connected"); - Thread.sleep(500); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |