Skip to content

Commit 450273a

Browse files
Increase PO token snapshot timeout from 3 to 10 seconds (FreeTubeApp#7114)
1 parent ec6398d commit 450273a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/botGuardScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default async function (videoId, visitorData, context) {
6363
})
6464

6565
const webPoSignalOutput = []
66-
const botGuardResponse = await botGuard.snapshot({ webPoSignalOutput })
66+
const botGuardResponse = await botGuard.snapshot({ webPoSignalOutput }, 10_000)
6767

6868
const integrityTokenResponse = await fetch(buildURL('GenerateIT', true), {
6969
method: 'POST',

0 commit comments

Comments
 (0)