diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-22 16:06:51 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-22 16:15:27 +0000 |
| commit | 890b004acd45b193a6453bc5e00e375aca2d9fb8 (patch) | |
| tree | dc5875b208b74f1fae9784c0088c7c7422c27c92 /kaios | |
| parent | b907e278751b740da7b9dc00c0cbdb93e7498919 (diff) | |
| download | puzzles-890b004acd45b193a6453bc5e00e375aca2d9fb8.zip puzzles-890b004acd45b193a6453bc5e00e375aca2d9fb8.tar.gz puzzles-890b004acd45b193a6453bc5e00e375aca2d9fb8.tar.bz2 puzzles-890b004acd45b193a6453bc5e00e375aca2d9fb8.tar.xz | |
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.
Diffstat (limited to 'kaios')
| -rw-r--r-- | kaios/kaiads-glue.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |