Skip to content

fix: Reuse redis connection - #9

Open
webbrain-one wants to merge 1 commit into
alexanderatallah:mainfrom
webbrain-one:webbrain/issue-6
Open

fix: Reuse redis connection#9
webbrain-one wants to merge 1 commit into
alexanderatallah:mainfrom
webbrain-one:webbrain/issue-6

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #6

Previously each collection instantiated its own Redis connection pool.
Refactor constructor to accept connection config and initialize a
single pool. Add newCollection() method to create collections
sharing this connection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reuse redis connection

1 participant