fix: remove unnecessary return statement in setTimeout for retry logic

This commit is contained in:
Nawaz Dhandala 2025-12-09 12:19:25 +00:00
parent f44435e44c
commit 7a9b46cede
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA

View file

@ -95,7 +95,7 @@ export default class SyntheticMonitor {
// Wait a bit before retrying
await new Promise((resolve: (value: void) => void) => {
return setTimeout(resolve, 1000);
setTimeout(resolve, 1000);
});
return this.executeWithRetry({