chore(): Add retry strategy to database connection (#12713)
RESOLVES FRMW-2978 **What** Add retry mechanism to database connection management to prevent failing when the server start faster than what makes the connection available
This commit is contained in:
@@ -129,7 +129,7 @@ export async function initializeContainer(
|
||||
[ContainerRegistrationKeys.REMOTE_QUERY]: asValue(null),
|
||||
})
|
||||
|
||||
pgConnectionLoader()
|
||||
await pgConnectionLoader()
|
||||
return container
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user