Skip to content

Commit

Permalink
clear reservoirs
Browse files Browse the repository at this point in the history
  • Loading branch information
XiXiaPdx committed Nov 24, 2021
1 parent 5927fe8 commit 6d13914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private SamplingPriorityQueue<SpanEvent> createDistributedSamplingReservoir(Stri

@Override
public void clearReservoir() {
spanReservoirsForApp.forEach((appName, reservoir) -> reservoir.clear() );
spanReservoirsForApp.clear();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private SamplingPriorityQueue<SpanEvent> createDistributedSamplingReservoir(Stri

@Override
public void clearReservoir() {
spanReservoirsForApp.forEach((appName, reservoir) -> reservoir.clear() );
spanReservoirsForApp.clear();
}

@Override
Expand Down

0 comments on commit 6d13914

Please sign in to comment.