Skip to content

Commit

Permalink
Raise lambda flush timeout to 10 seconds (#2855)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal authored Apr 23, 2021
1 parent 7381304 commit 7410744
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private WrapperConfiguration() {}

public static final String OTEL_LAMBDA_FLUSH_TIMEOUT_ENV_KEY =
"OTEL_INSTRUMENTATION_AWS_LAMBDA_FLUSH_TIMEOUT";
public static final Duration OTEL_LAMBDA_FLUSH_TIMEOUT_DEFAULT = Duration.ofSeconds(1);
public static final Duration OTEL_LAMBDA_FLUSH_TIMEOUT_DEFAULT = Duration.ofSeconds(10);

public static final Duration flushTimeout() {
String lambdaFlushTimeout = System.getenv(OTEL_LAMBDA_FLUSH_TIMEOUT_ENV_KEY);
Expand Down

0 comments on commit 7410744

Please sign in to comment.