Skip to content

Commit

Permalink
Increase timeoutBuffer default to 400 ms (prebid#3258)
Browse files Browse the repository at this point in the history
* Increase default to 400 ms

* fixed typo
  • Loading branch information
jaiminpanchal27 authored and Pedro López Jiménez committed Mar 18, 2019
1 parent efa25fa commit de85791
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DEFAULT_PUBLISHER_DOMAIN = window.location.origin;
const DEFAULT_ENABLE_SEND_ALL_BIDS = true;
const DEFAULT_DISABLE_AJAX_TIMEOUT = false;

const DEFAULT_TIMEOUTBUFFER = 200;
const DEFAULT_TIMEOUTBUFFER = 400;

export const RANDOM = 'random';
const FIXED = 'fixed';
Expand Down Expand Up @@ -146,12 +146,12 @@ export function newConfig() {
},

// timeout buffer to adjust for bidder CDN latency
_timoutBuffer: DEFAULT_TIMEOUTBUFFER,
_timeoutBuffer: DEFAULT_TIMEOUTBUFFER,
get timeoutBuffer() {
return this._timoutBuffer;
return this._timeoutBuffer;
},
set timeoutBuffer(val) {
this._timoutBuffer = val;
this._timeoutBuffer = val;
},

_disableAjaxTimeout: DEFAULT_DISABLE_AJAX_TIMEOUT,
Expand Down

0 comments on commit de85791

Please sign in to comment.