From 749052e13841e115de384dff6b40db2f4a484f35 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 27 Jan 2012 10:41:01 +0000
Subject: [PATCH] speed up!

---
 Common/GmshSocket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h
index 66f98bcf0d..9b1746a2f3 100644
--- a/Common/GmshSocket.h
+++ b/Common/GmshSocket.h
@@ -409,7 +409,7 @@ class GmshServer : public GmshSocket{
     }
 
     // wait until we get data
-    int ret = NonBlockingWait(tmpsock, 0.5, timeout);
+    int ret = NonBlockingWait(tmpsock, 0.001, timeout);
     if(ret){
       CloseSocket(tmpsock);
       if(ret == 2){
-- 
GitLab