fix: restore onebox daemon startup
Release / build-and-release (push) Successful in 2m28s

This commit is contained in:
2026-05-08 16:23:45 +00:00
parent fba143d918
commit cc6a81012c
6 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export class OneboxReverseProxy {
if (status.running) {
logger.info(`HTTPS already running on port ${this.httpsPort} via SmartProxy`);
} else {
await this.smartProxy.start();
logger.warn('Skipping HTTPS reverse proxy startup because SmartProxy is not running');
}
}
+1 -1
View File
@@ -217,7 +217,7 @@ export class SmartProxyManager {
return network.Id;
}
private async waitForReady(maxAttempts = 120, intervalMs = 1000): Promise<void> {
private async waitForReady(maxAttempts = 10, intervalMs = 1000): Promise<void> {
for (let i = 0; i < maxAttempts; i++) {
try {
const response = await fetch(`${this.adminUrl}/ready`);