diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-03-31 02:14:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:22 -0500 |
commit | c36387446668b494b68ad5cf44407c9ce7cee497 (patch) | |
tree | b05c0d34e737231863302f8de78a868f3b4b045a /source4/lib | |
parent | 07e3fa214673fde54c13273c5f95418011d56080 (diff) | |
download | samba-c36387446668b494b68ad5cf44407c9ce7cee497.tar.gz samba-c36387446668b494b68ad5cf44407c9ce7cee497.tar.bz2 samba-c36387446668b494b68ad5cf44407c9ce7cee497.zip |
r6147: The maxfd was being recalculated on every event loop, which made us
less scalable. It only needs to be recalculated when we the highest fd
is destroyed.
(This used to be commit 568b9175f329f594404c9091ee5946670c40697e)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/events/events_standard.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/lib/events/events_standard.c b/source4/lib/events/events_standard.c index 76c8c4768a..a867f86801 100644 --- a/source4/lib/events/events_standard.c +++ b/source4/lib/events/events_standard.c @@ -514,7 +514,6 @@ static int std_event_loop_wait(struct event_context *ev) struct std_event_context *std_ev = talloc_get_type(ev->additional_data, struct std_event_context); std_ev->exit_code = 0; - std_ev->maxfd = EVENT_INVALID_MAXFD; while (std_ev->fd_events && std_ev->exit_code == 0) { if (std_event_loop_once(ev) != 0) { |