summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-09-29 17:27:24 +0200
committerAnatol Belski <ab@php.net>2014-09-29 17:27:24 +0200
commit46aa2c396bf32b81c76ed2330e8e116eef8886a8 (patch)
treed8521c50872582ce00081cf8640deb81cfcececd /main/streams/plain_wrapper.c
parent0c982798e01e5a48765aa5352f96066e77e36efd (diff)
downloadphp-git-46aa2c396bf32b81c76ed2330e8e116eef8886a8.tar.gz
increase the polling period to not to break existing behaviours
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index 20ec7c2423..4b5dc55276 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.*/