From 890b004acd45b193a6453bc5e00e375aca2d9fb8 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 22 Jan 2023 16:06:51 +0000 Subject: [PATCH] Increase KaiAds timeout to 10 seconds Kai recommend five to ten seconds, and five seconds is short enough that I get timeouts when testing that are hard to distinguish from having screwed up my content security policy. --- kaios/kaiads-glue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaios/kaiads-glue.js b/kaios/kaiads-glue.js index 1eb30aa..7d26184 100644 --- a/kaios/kaiads-glue.js +++ b/kaios/kaiads-glue.js @@ -37,7 +37,7 @@ getKaiAd({ publisher: 'dac9c115-ec42-4175-ac5e-47e118cc541b', test: testmode ? 1 : 0, - timeout: 5000, + timeout: 10000, onready: function(ad) { ad.on('close', function () { // KaiAds adds inline styles to the body and doesn't