Closed fr0stbyte closed 9 years ago
Apologies, when I moved the repo I forgot I needed to reauthorize travis for this organization, which is why this PR did not build on travis. I'm going to try to trigger a build by closing and reopening this PR.
Looks like the conversation on #34 approves this. So I'll go ahead and merge.
@cyli would you mind bumping the version and deploying a patch release?
@dustyburwell Done
This seems reasonable given Zipkin is jvm (scala specifically). Actually, it sounds like this would be a major issue resulting in failures for standard installs of Zipkin.
That said the upper bounds are slightly off here. The max long value in Scala is 9223372036854775807L (dec) or 0x7FFF FFFF FFFF FFFF (hex). So we shouldn't limit the lower word in this way, a value of
0x100000000
is fine. For the upper word, the max should be set at0x80000000
since theMath.random()
range is [0, 1) (1 exclusive, i.e. the maximal value would be0x7FFFFFFF
).Line 29 should therefore read: