ref: 890b004acd45b193a6453bc5e00e375aca2d9fb8
parent: b907e278751b740da7b9dc00c0cbdb93e7498919
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sun Jan 22 11:06:51 EST 2023
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.
--- 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