@furvester/upstream-sync 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -148,9 +148,10 @@ export class SyncManager {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
catch {
|
|
151
|
-
|
|
152
|
-
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
151
|
+
// Noop
|
|
153
152
|
}
|
|
153
|
+
this.config.logger.info("Unable to verify health, backing off");
|
|
154
|
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
154
155
|
}
|
|
155
156
|
throw new Error(`Service "${serviceName}" didn't turn ready within 60 seconds`);
|
|
156
157
|
}
|