From 084e750e6c45fbac92e48c59fed0404d09869faf Mon Sep 17 00:00:00 2001 From: shun jiang Date: Tue, 24 Jan 2023 14:16:41 -0800 Subject: [PATCH] remove tmaxrequest from response --- exchange/exchange.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exchange/exchange.go b/exchange/exchange.go index e4f8afcf481..577a4dc0b0f 100644 --- a/exchange/exchange.go +++ b/exchange/exchange.go @@ -979,10 +979,10 @@ func getPrimaryAdServer(adServerId int) (string, error) { // Extract all the data from the SeatBids and build the ExtBidResponse func (e *exchange) makeExtBidResponse(adapterBids map[openrtb_ext.BidderName]*pbsOrtbSeatBid, adapterExtra map[openrtb_ext.BidderName]*seatResponseExtra, r AuctionRequest, debugInfo bool, passthrough json.RawMessage, errList []error) *openrtb_ext.ExtBidResponse { bidResponseExt := &openrtb_ext.ExtBidResponse{ - Errors: make(map[openrtb_ext.BidderName][]openrtb_ext.ExtBidderMessage, len(adapterBids)), - Warnings: make(map[openrtb_ext.BidderName][]openrtb_ext.ExtBidderMessage, len(adapterBids)), - ResponseTimeMillis: make(map[openrtb_ext.BidderName]int, len(adapterBids)), - RequestTimeoutMillis: r.BidRequestWrapper.BidRequest.TMax, + Errors: make(map[openrtb_ext.BidderName][]openrtb_ext.ExtBidderMessage, len(adapterBids)), + Warnings: make(map[openrtb_ext.BidderName][]openrtb_ext.ExtBidderMessage, len(adapterBids)), + ResponseTimeMillis: make(map[openrtb_ext.BidderName]int, len(adapterBids)), + // RequestTimeoutMillis: r.BidRequestWrapper.BidRequest.TMax, } if debugInfo { bidResponseExt.Debug = &openrtb_ext.ExtResponseDebug{