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.
This commit is contained in:
Ben Harris
2023-01-22 16:06:51 +00:00
parent b907e27875
commit 890b004acd

View File

@ -37,7 +37,7 @@
getKaiAd({ getKaiAd({
publisher: 'dac9c115-ec42-4175-ac5e-47e118cc541b', publisher: 'dac9c115-ec42-4175-ac5e-47e118cc541b',
test: testmode ? 1 : 0, test: testmode ? 1 : 0,
timeout: 5000, timeout: 10000,
onready: function(ad) { onready: function(ad) {
ad.on('close', function () { ad.on('close', function () {
// KaiAds adds inline styles to the body and doesn't // KaiAds adds inline styles to the body and doesn't