Skip to content

Commit 34594a9

Browse files
committed
wip
1 parent cc8ac53 commit 34594a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dd-java-agent/appsec/src/main/java/com/datadog/appsec/api/security/ApiSecuritySamplerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public boolean preSampleRequest(final @Nonnull AppSecRequestContext ctx) {
7777
if (counter.tryAcquire()) {
7878
ctx.setKeepOpenForApiSecurityPostProcessing(true);
7979
if (!Config.get().isApmTracingEnabled()) {
80-
// Update immediately to prevent concurrent requests from seeing the same expired state
8180
boolean sampled = updateApiAccessIfExpired(hash);
8281
if (sampled) {
8382
logSamplingDecision("preSampleRequest", hash);

0 commit comments

Comments
 (0)