increse fail count to 300

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@715 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale 2009-04-13 19:11:27 +00:00
parent 1cc7635cd0
commit 60ebf58116

View File

@ -864,7 +864,7 @@ static ZIO_READ_FUNCTION(zt_read)
zap_ssize_t r = 0;
int errs = 0;
while (errs++ < 100) {
while (errs++ < 300) {
if ((r = read(zchan->sockfd, data, *datalen)) > 0) {
break;
}