Skip to content
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

send excess traces when reducing cache size #142

Merged
merged 5 commits into from
Sep 21, 2020
Merged

send excess traces when reducing cache size #142

merged 5 commits into from
Sep 21, 2020

Conversation

ianwilkes
Copy link
Contributor

Also fixes an off-by-one error in the cache building loop, and adds a mutex to mock config to avoid test races.

@ianwilkes ianwilkes requested review from a team, asdvalenzuela and maplebed September 17, 2020 21:22
Copy link
Member

@martin308 martin308 left a comment

Choose a reason for hiding this comment

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

Makes sense, one question about just removing the start function from the cache

Metrics: i.Metrics,
Logger: i.Logger,
}
c.Start()
Copy link
Member

Choose a reason for hiding this comment

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

maybe we could just get rid of the start function? We don't have a matching stop function and it seems to just create some data structures that could be created upfront when we make the initial struct?

@ianwilkes ianwilkes merged commit 6d70e8d into main Sep 21, 2020
@ianwilkes ianwilkes deleted the ian.send branch September 21, 2020 17:45
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