We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32dd013 commit 40e46ebCopy full SHA for 40e46eb
1 file changed
scripts/poll-in-app-server.js
@@ -2,8 +2,8 @@ const http = require('http');
2
3
async function pollInAppServer() {
4
const startTime = Date.now();
5
- const maxDuration = 5 * 60 * 1000; // 5 minutes
6
- const pollInterval = 5000; // 1 second
+ const maxDuration = 20 * 1000; // 20 seconds
+ const pollInterval = 1000; // 1 seconds
7
8
while (Date.now() - startTime < maxDuration) {
9
try {
0 commit comments