summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-30 11:21:19 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-30 11:21:19 +0000
commit32065b5a38dcad1a7c30d89509ee9be02ad5373d (patch)
tree655f0603d2ef4e8d63b8504b7ebf34d700fe7ca5 /vespalib
parent8d4eb868704b3374c937f354f30533b174edb4fe (diff)
Simplify and use a single events_before_wakup number in the transport thread for controlling wakeup frequency.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/net/selector.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/net/selector.h b/vespalib/src/vespa/vespalib/net/selector.h
index 6b1967ddcd9..828f29705fb 100644
--- a/vespalib/src/vespa/vespalib/net/selector.h
+++ b/vespalib/src/vespa/vespalib/net/selector.h
@@ -59,7 +59,6 @@ public:
for (const auto &evt: _events) {
if (evt.data.ptr == nullptr) {
_wakeup_pipe.read_tokens();
- handler.handle_wakeup();
} else {
Context &ctx = *((Context *)(evt.data.ptr));
bool read = ((evt.events & (EPOLLIN | EPOLLERR | EPOLLHUP)) != 0);