-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Level Events] manage level events registration mask #13787
Merged
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
7c6055f
Initial implementation for optimized file events
a5f71d2
format changes
00f76fc
fix format + make linux run level events to get a bigger sample on CI
5a5fcf6
improve implementation with new event trigger type
5b67c40
fix udp, hot restart and proxy listener
bb201bd
rename function names
29b9ba4
format changes
5473250
spelling
55843d4
fix file event test
cbb6f81
fix format
18bb1f2
attempt to fix windows comp
49597fe
fix formatting
3795281
fix ssl tests
b1713b6
format changes
43ccec1
revert file_event testt
4ca4422
no need to merge events with mode EVLOOP_ONCE
804f747
Remove EVLOOP_ONCE from windows + enable event tests
524826b
format change
8f450f1
fix simulated_time_system_test
d5a43f8
ci failures + comments
9482e16
format changes
65c1a43
fix asan
bced31d
small improvements
c5bb3d0
pr comments
de29321
handle case with early close and read on activated events
95de340
fix format
50ef019
increase coverage
f7e5741
constexpr guarding
af5ab9c
fix formatting
342fe73
fix pr comments
ee2b6e0
optimize events for winodws
da34cb0
More constexpr guarding
54bff41
Merge remote-tracking branch 'upstream/master' into eventsOptimized
5d135e9
fix merge conflict
a730507
more constexpr guards vol2
bc4278d
PR comments by Matt and per file coverage
afb62cb
spelling
48f9376
expand comments on event types
bf30da3
spelling
3e9ca9c
drop coverage for events to 93.5
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get rid of Level now? Windows is the only platform its needed and we fully intend to use the "optimized" flavor anyhow. Or are you using it for testing/comparison?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Level events are used by listeners and DNS ( on all platforms), so we cant really remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I did not know that. Have you played with trying to move listeners and DNS to EmulatedEdge? Just curious. This is something that can certainly be done later if there is interest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some comments now above each trigger type with what they do and what they are used for? I think now it's less clear what all of these do and are for and it would be good to have a comment trail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a block of comments for
EmulatedEdge
and some comments with the current use cases of the other event types