-
Notifications
You must be signed in to change notification settings - Fork 591
move file flush to ProxyConfig #3620
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -756,6 +756,16 @@ message ProxyConfig { | |||||
| // This header is disabled by default. | ||||||
| XForwardedPort x_forwarded_port = 42; | ||||||
| } | ||||||
|
|
||||||
| // File flush interval for envoy flushes buffers to disk in milliseconds. | ||||||
| // Default is 1000. | ||||||
| // Optional. | ||||||
| uint32 file_flush_interval = 40; | ||||||
|
|
||||||
| // File flush buffer size for envoy flushes buffers to disk in kilobytes. | ||||||
| // Defaults to 64. | ||||||
| // Optional. | ||||||
| uint32 file_flush_min_size = 41; | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| } | ||||||
|
|
||||||
| message RemoteService { | ||||||
|
|
||||||
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.
Late to the party, but can we have this be a duration rather than a uint32. That way the units expressed as part of the type system and its consistent wtih termination_drain_duration
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.
that didn't make sense to me as envoy is base on millisecond.
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.
@zirain sure, but we should strive for istio users to not have to know Envoy conventions. Also, Envoy uses
google.Protobuf.Durationeverywhere in their API. It seems much more ergonomic to use aDurationto express a duration.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 didn't have strong option on this, you can raise it up on the WG meeting.
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.
It should be Duration IMO