Skip to content

[Improvement] Add DB connection retry and better error handling #217

Description

@zaibamachhaliya

db.js needs:

  • Connection retry logic (max 3 attempts)
  • Better error messages
  • Pool size from env
  • SSL config for production
  • Connection timeout from env
  • sync({ force: false }) by default
  • Proper logging with winston/pino

Files: config/db.js

Metadata

Metadata

Labels

SSoC26Program label for Social Summer of Code Season 5.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions