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

Replace Random with a Thread Safe Random. #26

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

windsnow98
Copy link
Contributor

@windsnow98 windsnow98 commented May 9, 2016

It is very clear Random class is not thread safe. It will crash and invalidate sampling rate logic. This fix is to address this issue.

@akatz0813
Copy link

+1

@yannmh yannmh added this to the 2.2.0 milestone May 18, 2016
@yannmh yannmh self-assigned this May 18, 2016
@yannmh
Copy link
Member

yannmh commented May 18, 2016

Thanks a lot for fixing this @windsnow98 !
I am adding your contribution to our 2.2.0 milestone: we'll review it very shortly :)

@yannmh
Copy link
Member

yannmh commented Jul 8, 2016

Sorry for the late review @windsnow98.
Your changes look great, merging.

@yannmh yannmh merged commit afa6787 into DataDog:master Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants