From 46aa2c396bf32b81c76ed2330e8e116eef8886a8 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 29 Sep 2014 17:27:24 +0200 Subject: [PATCH] increase the polling period to not to break existing behaviours --- main/streams/plain_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 20ec7c2423c..4b5dc55276f 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -367,7 +367,7 @@ static size_t php_stdiop_read(php_stream *stream, char *buf, size_t count TSRMLS if (0 == avail_read) { usleep(100000); } - } while (0 == avail_read && retry++ < 180); + } while (0 == avail_read && retry++ < 320); /* Reduce the required data amount to what is available, otherwise read() will block.*/