From: Adam Dickmeiss Date: Sun, 27 Sep 2009 19:21:06 +0000 (+0200) Subject: Dummy database Slow waits 3 seconds. X-Git-Tag: v3.0.49~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=5a945d96cd9da92cc3e37025d30dbee9d6f1d96e;p=yaz-moved-to-github.git Dummy database Slow waits 3 seconds. --- diff --git a/ztest/ztest.c b/ztest/ztest.c index 6f13610..f426eb9 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -98,7 +98,7 @@ int ztest_search(void *handle, bend_search_rr *rr) #if HAVE_UNISTD_H /* wait up to 3 seconds and check if connection is still alive */ int i; - for (i = 0; i<20; i++) + for (i = 0; i<3; i++) { if (!bend_assoc_is_alive(rr->association)) {