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

EPlanning Bid Adapter: Adding support for schain #12635

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maximilianozurita
Copy link
Contributor

@maximilianozurita maximilianozurita commented Jan 9, 2025

Type of change

  • Feature

Description of change

  • passing schain information.

@ChrisHuie ChrisHuie self-requested a review January 9, 2025 20:36
@ChrisHuie ChrisHuie self-assigned this Jan 9, 2025
@@ -70,7 +72,9 @@ export const spec = {
if (pcrs) {
params.crs = pcrs;
}

if (Math.floor(Math.random() * 1000) === 0 && schain) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you sampling

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As schain does not change all the time, we only need to receive it once every 1000 requests. Then we use a cache on our side until the next request. This way we reduce the requests size

Copy link
Collaborator

Choose a reason for hiding this comment

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

you might get different schains from different units on the same page.

Copy link
Collaborator

Choose a reason for hiding this comment

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

And if someone sets an schain rid, it changes every time

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

Successfully merging this pull request may close these issues.

3 participants