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

Resolves issue with similar timeout and auto refresh value #1093

Merged

Conversation

mdanylov-sigma
Copy link
Collaborator

Issue #1028

Resolves the corner case, when timeout equals to autoRefreshTime, which triggers new demand request and previously scheduled dispatch queue task simultaneously.

bidRequester.requestBids { [weak self] bidResponse, error in
timeoutHandler.cancel()
Copy link
Collaborator

Choose a reason for hiding this comment

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

The solution looks great! Could you please consider adding some unit tests for this?

@mdanylov-sigma mdanylov-sigma force-pushed the 1028-autorefresh-timeout-issue branch from 32250e5 to 44d6f86 Compare January 29, 2025 12:34
Copy link
Collaborator

@OlenaPostindustria OlenaPostindustria left a comment

Choose a reason for hiding this comment

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

LGTM

@YuriyVelichkoPI YuriyVelichkoPI merged commit 3173143 into prebid:master Feb 3, 2025
4 checks passed
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