summaryrefslogtreecommitdiff
path: root/t/watcher.t
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-10-29 16:41:24 -0700
committerdormando <dormando@rydia.net>2020-10-29 16:41:24 -0700
commite5817664738e613155078ddea66c9dde73339ac1 (patch)
tree412afe0766ca959a5d025a46edeaefc897c20008 /t/watcher.t
parent31956fd70ea79841a0ed5e0d9e480f8bf9b0e10b (diff)
downloadmemcached-e5817664738e613155078ddea66c9dde73339ac1.tar.gz
logger: fix spurious watcher hangups
of course the previous commit didn't actually fix the bug: during poll() call we weren't filtering for the right watcher when we were polling a specific one. This could lead to reading a POLLHUP on the wrong socket and other issues. hopefully that solves some mysteries with the watcher system.
Diffstat (limited to 't/watcher.t')
-rw-r--r--t/watcher.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/watcher.t b/t/watcher.t
index c34e896..6661326 100644
--- a/t/watcher.t
+++ b/t/watcher.t
@@ -85,7 +85,6 @@ if ($res eq "STORED\r\n") {
# wait for all of the writes to go through.
print $client "version\r\n";
$res = <$client>;
- sleep 4;
my $mwatcher = $server->new_sock;
print $mwatcher "watch mutations evictions\n";