提交 4a7648dd 编写于 作者: wu-sheng's avatar wu-sheng

Fix sampling bug.

上级 8928716f
......@@ -40,9 +40,10 @@ public class SamplingService implements BootService {
if (on) {
if (rollingSeed % Config.Agent.SAMPLING_CYCLE != 0) {
segment.setSampled(false);
rollingSeed++;
}else{
this.rollingSeed = 1;
}
rollingSeed++;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册