Honor the Redis timeout
commitbe313ffe50bc588b5067de7958f964b333b4d7cc
authorJoel Marcey <joelm@fb.com>
Tue, 11 Nov 2014 21:24:57 +0000 (11 13:24 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 11 Nov 2014 21:30:35 +0000 (11 13:30 -0800)
treef66a0b2da8923b1f0453c537a0fd58edb317b13e
parent52954d559ab0bb98afe91a13ed38a3cd7aedb822
Honor the Redis timeout

Summary: The timeout is there to make sure we don't sit too long without having anything to
read. This wasn't being honored; so waiting to read a non-existent key would go
on indefinitely.

Fixes #3094

Reviewed By: @sgolemon

Differential Revision: D1667533

Signature: t1:1667533:1415414331:208ce6076688321dd92b0dc19d63bdaa12793e61
hphp/system/php/redis/Redis.php
hphp/test/slow/ext_redis/config.skipif
hphp/test/slow/ext_redis/timeout.php [new file with mode: 0644]
hphp/test/slow/ext_redis/timeout.php.expectf [new file with mode: 0644]