Reduce TCF bridge poll timeout from 10s to 3s (v1.3.4)

10s was unnecessarily long — any EEA user with Funding Choices properly
loaded will have __tcfapi within 3s. Reducing the timeout means non-TCF
visitors (Americas etc.) receive the granted fallback 7 seconds sooner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 08:20:36 +01:00
parent c21b42f6f3
commit 5de5b3ddb7
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
return;
}
var MAX_WAIT_MS = 10000;
var MAX_WAIT_MS = 3000;
var POLL_INTERVAL = 100;
var elapsed = 0;
var lastSignature = '';