feat: fixed server cfg stale in replication

This commit is contained in:
Akhil Mohan
2024-02-07 11:36:13 +05:30
parent 609b224ca9
commit 61ff732ec0
8 changed files with 31 additions and 38 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ const run = async () => {
dbConnectionUri: appCfg.DB_CONNECTION_URI,
dbRootCert: appCfg.DB_ROOT_CERT
});
const smtp = smtpServiceFactory(formatSmtpConfig());
const queue = queueServiceFactory(appCfg.REDIS_URL);
@@ -40,7 +40,7 @@ const run = async () => {
port: appCfg.PORT,
host: appCfg.HOST,
listenTextResolver: (address) => {
bootstrap();
void bootstrap();
return address;
}
});