Skip to content

Commit 40e46eb

Browse files
committed
Change to 20 seconds
1 parent 32dd013 commit 40e46eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/poll-in-app-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const http = require('http');
22

33
async function pollInAppServer() {
44
const startTime = Date.now();
5-
const maxDuration = 5 * 60 * 1000; // 5 minutes
6-
const pollInterval = 5000; // 1 second
5+
const maxDuration = 20 * 1000; // 20 seconds
6+
const pollInterval = 1000; // 1 seconds
77

88
while (Date.now() - startTime < maxDuration) {
99
try {

0 commit comments

Comments
 (0)