Skip to content

Commit

Permalink
🔧 Update timeout for getting GA client Id
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt authored and williamchong committed Nov 30, 2023
1 parent 9fc381f commit b5ec8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/EventLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export function getGaClientId(vue) {
resolve(undefined);
}
});
// Assumem no GA response after 300ms
// Assume no GA response after 100ms
const timeout = new Promise(resolve =>
setTimeout(() => resolve(undefined), 300)
setTimeout(() => resolve(undefined), 100)
);
return Promise.race([promise, timeout]);
}
Expand Down

0 comments on commit b5ec8ca

Please sign in to comment.