We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8ac53 commit 34594a9Copy full SHA for 34594a9
dd-java-agent/appsec/src/main/java/com/datadog/appsec/api/security/ApiSecuritySamplerImpl.java
@@ -77,7 +77,6 @@ public boolean preSampleRequest(final @Nonnull AppSecRequestContext ctx) {
77
if (counter.tryAcquire()) {
78
ctx.setKeepOpenForApiSecurityPostProcessing(true);
79
if (!Config.get().isApmTracingEnabled()) {
80
- // Update immediately to prevent concurrent requests from seeing the same expired state
81
boolean sampled = updateApiAccessIfExpired(hash);
82
if (sampled) {
83
logSamplingDecision("preSampleRequest", hash);
0 commit comments