Merge branch 'master' into my-main

This commit is contained in:
吴晟 Wu Sheng 2017-09-29 14:50:27 +08:00 committed by GitHub
commit 0bd60b8c28
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class TraceSegmentServiceClient implements BootService, IConsumer<TraceSe
private void printUplinkStatus() {
long currentTimeMillis = System.currentTimeMillis();
if (lastLogTime - currentTimeMillis > 30 * 1000) {
if (currentTimeMillis - lastLogTime > 30 * 1000) {
lastLogTime = currentTimeMillis;
if (segmentUplinkedCounter > 0) {
logger.debug("{} trace segments have been sent to collector.", segmentUplinkedCounter);