Skip to content

token bucket: several fixes#6235

Merged
htuch merged 3 commits intomasterfrom
enhance_token_bucket
Mar 11, 2019
Merged

token bucket: several fixes#6235
htuch merged 3 commits intomasterfrom
enhance_token_bucket

Conversation

@mattklein123
Copy link
Member

  1. Add partial consumption
  2. Fix ceiling math for next wakeup time
  3. Minor cleanups

Needed for #5942

Risk Level: Low
Testing: New UT
Docs Changes: N/A
Release Notes: N/A

1) Add partial consumption
2) Fix ceiling math for next wakeup time
3) Minor cleanups

Needed for #5942

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Member Author

@ramaraochavali PTAL

Signed-off-by: Matt Klein <mklein@lyft.com>
ramaraochavali
ramaraochavali previously approved these changes Mar 10, 2019
Copy link
Contributor

@ramaraochavali ramaraochavali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, expect one minor nit and one question

Signed-off-by: Matt Klein <mklein@lyft.com>
Copy link
Contributor

@ramaraochavali ramaraochavali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@htuch htuch merged commit 5dc60b9 into master Mar 11, 2019
mpuncel added a commit to mpuncel/envoy that referenced this pull request Mar 11, 2019
* master:
  token bucket: several fixes (envoyproxy#6235)
  config: move logging of full response to trace logging (envoyproxy#6226)
  mysql_filter: add a warning about compatibility (envoyproxy#6234)
  upstream: add transport socket failure reason to stream info and log (envoyproxy#6018)
  IoHandle readv and writev (envoyproxy#6037)

Signed-off-by: Michael Puncel <mpuncel@squareup.com>
@mattklein123 mattklein123 deleted the enhance_token_bucket branch March 18, 2019 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants