Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RUM-6053] Increase INITIALIZATION_TIME_OUT_DELAY #3017

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

nulrich
Copy link
Contributor

@nulrich nulrich commented Sep 18, 2024

Motivation

Some customers using the SDK in environment with slow network are experiencing timeout in DeflateWorker loading. Increasing the value fixed the issue.

Changes

Increase INITIALIZATION_TIME_OUT_DELAY to 30 seconds

Testing

  • [*] Local
  • Staging
  • [*] Unit
  • End to end

I have gone over the contributing documentation.

@nulrich nulrich requested a review from a team as a code owner September 18, 2024 16:12
@nulrich nulrich merged commit fbd15c7 into main Sep 18, 2024
19 checks passed
@nulrich nulrich deleted the nicolas.ulrich/increase-initialization-time-out-delay branch September 18, 2024 16:55
@@ -10,7 +10,7 @@ import {
} from '@datadog/browser-core'
import type { RumConfiguration } from '@datadog/browser-rum-core'

export const INITIALIZATION_TIME_OUT_DELAY = 10 * ONE_SECOND
export const INITIALIZATION_TIME_OUT_DELAY = 30 * ONE_SECOND
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a comment explaining this new value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants