Skip to content

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

Merged
ChrisHuie merged 5 commits intoprebid:masterfrom
LiveIntent:set_ajax_timeout
Sep 12, 2023
Merged

LiveIntent UserId module: fix Ajax timeout when calling the collector endpoint#10425
ChrisHuie merged 5 commits intoprebid:masterfrom
LiveIntent:set_ajax_timeout

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
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.

2 participants

Comments