Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pool of senders #11

Closed
gabrielmocan opened this issue Apr 29, 2023 · 2 comments · Fixed by #47
Closed

Pool of senders #11

gabrielmocan opened this issue Apr 29, 2023 · 2 comments · Fixed by #47

Comments

@gabrielmocan
Copy link

It would be nice to have something like https://pkg.go.dev/github.com/jackc/pgx/v5/pgxpool so we could instantiate a pool of senders to be concurrently reused across go routines.

@sklarsa
Copy link
Contributor

sklarsa commented Aug 14, 2024

FYI, we've changed the API slightly in this new commit. The pool is easier to use since you don't need to worry about explicitly releasing senders from the pool, you can just close them:

#53

@puzpuzpuz
Copy link
Collaborator

puzpuzpuz commented Aug 14, 2024

I've just published v3.2.0 with the pool API changes. The release notes include a code migration example: https://github.com/questdb/go-questdb-client/releases/tag/v3.2.0

Please let us know if you face any issues.

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 a pull request may close this issue.

3 participants