Skip to content

Commit 2a3c693

Browse files
committed
fix: sidecar do not exit while trying to connect to postgres
1 parent 926fc00 commit 2a3c693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datastore/postgres-store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ export class PgDataStore extends (EventEmitter as { new (): DataStoreEventEmitte
746746
} finally {
747747
client.end(() => {});
748748
}
749-
} while (initTimer.getElapsed() < 30000);
749+
} while (initTimer.getElapsed() < Number.MAX_SAFE_INTEGER);
750750
if (!connectionOkay) {
751751
connectionError = connectionError ?? new Error('Error connecting to database');
752752
throw connectionError;

0 commit comments

Comments
 (0)