Update TraceSegmentServiceClient.java
Upstream log can't output correctly.
This commit is contained in:
parent
8244256a96
commit
4ca612f65e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue