Skip to content

don't allocate config inside With() #48

@mrsinham

Description

@mrsinham

Describe the feature

We would be glad to not instanciate a pointer to a config inside every call to With() (so calls to New() by extension).

Motivation

Recently we had an "Out of memory" error on our process because the config included inside every With() ate up to 40GB of RAM.

Thank you a lot and we love your library. Kudos.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions