Skip to content

Commit

Permalink
set default flush interval to zero only for lambda sls environments (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavl authored Jul 28, 2023
1 parent 8768290 commit 5562378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ ken|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)
})
}

const defaultFlushInterval = inServerlessEnvironment ? 0 : 2000
const defaultFlushInterval = inAWSLambda ? 0 : 2000

this.tracing = !isFalse(DD_TRACING_ENABLED)
this.dbmPropagationMode = DD_DBM_PROPAGATION_MODE
Expand Down

0 comments on commit 5562378

Please sign in to comment.