forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove needless flush call from Netty4 write handlers (elastic#89647)
These inline flush calls will never make the channel writable since they will just get queued on the executor and run a redundant flush execution later. We can simplify the code here and save some cycles by simply giving up and forwarding the flush once the channel stops being writable and then have the logic pick up again on the next writability changed call.
- Loading branch information
1 parent
b501bfc
commit 9b8ec28
Showing
2 changed files
with
2 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters