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

LiveIntent UserId module: fix Ajax timeout when calling the collector endpoint #10425

Merged
merged 5 commits into from
Sep 12, 2023

Conversation

3link
Copy link
Contributor

@3link 3link commented Sep 1, 2023

Type of change

  • Bugfix

Description of change

Prebid has changed the semantics of the Ajax timeout 0. It used to mean "no timeout". In Prebid version 8 it mean "immediate" timeout. This affected the calls to the collector endpoint which had a default timeout of 0. This PR introduces a default non-zero Ajax timeout for the collector endpoint, makes that timeout configurable and also makes the default Ajax timeout for the resolution endpoint more explicit (not hidden in the live-connect dependency).

Other information

@ChrisHuie ChrisHuie changed the title LiveIntent UserId module: Fix Ajax timeout when calling the collector endpoint LiveIntent UserId module: fix Ajax timeout when calling the collector endpoint Sep 5, 2023
@3link
Copy link
Contributor Author

3link commented Sep 7, 2023

@ChrisHuie Do you have an idea why the tests are failing.

@ChrisHuie
Copy link
Collaborator

@3link it is saying the package and package-lock file are out of sync. Maybe try running npm install and see if that syncs the files back up

@3link
Copy link
Contributor Author

3link commented Sep 12, 2023

@ChrisHuie Thank you! Fixed.

@ChrisHuie ChrisHuie self-assigned this Sep 12, 2023
@ChrisHuie ChrisHuie merged commit 779146a into prebid:master Sep 12, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants