Skip to content

A different type of timeout #56

@ghost

Description

As a publisher, I want prebid.js to trigger DFP immediately after the first bid came back after a specified time, so that I can speed up the adserver latency.

Today's setTimeout behavior:

If setTimeout is at 500ms, bidder A took 600ms, bidder B took 800ms, no header bidding happens.

New timeout behavior:

If the "soft" timeout is at 500ms, bidder A took 600ms, bidder B took 800ms, at 500ms, prebid.js will wait until the first bid is back. Thus at 600ms, prebid.js will attach bidder A's bid to the adserver impression and triggers adserver.

To prevent all bids took forever to return, the publisher should still set the normal setTimeout at a number larger than the "soft" timeout, e.g. 700ms in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions