Skip to content

Commit

Permalink
fix: remove some code (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsonye committed Sep 23, 2022
1 parent 6dd8c10 commit 000c990
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/SkyApm.Core/Transport/AsyncQueueSkyApmLogDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ public Task Flush(CancellationToken token = default)
_loggerReporter.ReportAsync(loggers, token);
}

Interlocked.Exchange(ref _offset, _segmentQueue.Count);

return Task.CompletedTask;
}
public void Close()
Expand Down

0 comments on commit 000c990

Please sign in to comment.