]> granicus.if.org Git - php/commitdiff
increase poll timeout as false positives mitigation
authorAnatol Belski <ab@php.net>
Wed, 12 Jul 2017 12:38:12 +0000 (14:38 +0200)
committerAnatol Belski <ab@php.net>
Wed, 12 Jul 2017 12:38:12 +0000 (14:38 +0200)
ext/mysqli/tests/mysqli_reap_async_query.phpt

index e3858e61722dc322d9da74cbdb0b0345875408ab..3f3bce32926356fee5a4ea1d7d3143ecd79d21fd 100644 (file)
@@ -38,7 +38,7 @@ if (!$IS_MYSQLND)
 
        function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
 
-               if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 1000)))
+               if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 2000)))
                        printf("[%03d + 1] There should be %d links ready to read from, %d ready\n",
                                $offset, $exp_ready, $tmp);