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

Timeout RTD Provider : Module Not Updating bidderTimeout #12274

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

pm-komal-kumari
Copy link
Contributor

Type of change

  • Bugfix

Description of change

This PR resolves the issue where the timeout RTD (Real-Time Data) module was not updating the bidderTimeout value as expected. The module is supposed to modify the bidderTimeout based on predefined rules, but this functionality was not working due to an error in the core RTD module's logic.

The following changes have been made to address the issue:

File Modified: modules/rtdModule/index.js

Fix Description: The argument 'reqBidsConfigObj' passed to the getBidRequestData function has been updated. Previously, the bidderTimeout value was not being updated due to passing the shallow copy of reqBidsConfigObj.

Steps to Reproduce:

Set up the timeout RTD module with rules designed to extend the bidderTimeout.
Observe that the bidderTimeout value does not change as expected.

Existing output : Timeout RTD Issue

We are consoling the bidder Timeout in the above code.
Issue

Expected output : Timeout RTD Issue Resolved

We are consoling the bidder Timeout in the above code.
Fixed

Changes:

Corrected the logic in index.js to ensure the bidderTimeout value is updated appropriately when rules are applied.

Other information

Copy link
Collaborator

@jlquaccia jlquaccia left a comment

Choose a reason for hiding this comment

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

LGTM

@jlquaccia jlquaccia merged commit 0b882c2 into prebid:master Sep 30, 2024
6 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.

3 participants