fix: standardize startup database retries
This commit is contained in:
1 parent
668e9dd310
commit
d9e2d64535
6 files changed
+230
-44
No files matched your search
@@ -17,6 +17,9 @@ legacy package as a compatibility layer until every consumer has moved.
|
||||
Pass a service-specific `tableName` to `runMigrations` when multiple services
|
||||
share one PostgreSQL database, so their migration histories cannot collide.
|
||||
|
||||
Database startup uses `DB_INIT_RETRY_INTERVAL_MS` (default `5000`, minimum
|
||||
`250`) and `DB_INIT_RETRY_MAX_ATTEMPTS` (default `0`, retry indefinitely).
|
||||
|
||||
Run `npm test` from this package or `npm run test --workspace=@gabriel20xx/node-backend` from `shared`.
|
||||
|
||||
## `authclient`/`coreconfig`: adopting AuthGuard instead of local auth
|
||||
|
||||
Reference in new issue
Block a user