Skip to content

Commit 58474f8

Browse files
remove debugging code
1 parent 715316c commit 58474f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal-api/src/main/java/datadog/trace/api/sampling/PerRecordingRateLimiter.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ public PerRecordingRateLimiter(
2020
}
2121

2222
public boolean permit() {
23-
if (!sampler.sample()) {
24-
return false;
25-
}
26-
return true;
27-
// return sampler.sample();
23+
return sampler.sample();
2824
}
2925

3026
public static int samplingWindowsPerRecording(long uploadPeriodSeconds, Duration samplingWindow) {

0 commit comments

Comments
 (0)