-
Notifications
You must be signed in to change notification settings - Fork 34
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
Move rate limiter from client to jaeger-lib #35
Move rate limiter from client to jaeger-lib #35
Conversation
Signed-off-by: Isaac Hier <ihier@uber.com>
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'm ok with moving this over here, however, we can't delete it from jaeger-client-go because it'll be a breaking change since some people maybe using NewRateLimiter. (we could just write a wrapper function NewRateLimiter which just calls this NewRateLimiter...) either way, let's land this but keep client as is for now until we figure out a better migration plan.
@@ -0,0 +1,77 @@ | |||
// Copyright (c) 2017 Uber Technologies, Inc. |
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.
although factually these files are just being copied over, shouldn't the copyright be updated here to 2018?
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.
Right I am wondering too. @yurishkuro what is your opinion here?
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.
He wrote to me yesterday: "if you copy the file, you keep C as is... if you copy and modify, and C was 2016, you should change it to C 2016, 2018"
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.
update this and I'll land
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.
update to what? This is the correct header.
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.
See my response above from @yurishkuro (granted it is hearsay as he didn't write it here)? It was not modified, so keeping the same.
why do we need to move it? It's already a public class, can just use it directly from the go-client path. |
You mean the client is accessible from the main jaeger repo or do you mean the client has access to this jaeger-lib repo? I assumed not the former, only the latter. |
nvm, I am find to move it. |
I'm still seeing I am not authorized to merge this. |
Signed-off-by: Isaac Hier ihier@uber.com