Skip to content

TODO in database.service.ts #1

Open
@marcin-bury

Description

Hi
Thanks for publishing thi basic NestJS setup.
I have noticed this TODO entry in database.service.ts:
// TODO: reuse the same client + connection limit
While "connection limit" tells it all (I suppose), I'd like to ask what do you mean by "reuse the same client"?
Isn't it reusable already by injecting in every "functional" service?

TIA
Marcin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions