Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

in Multithreaded environment we need to increase number of connections and block #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

in Multithreaded environment we need to increase number of connections and block #4

wants to merge 1 commit into from

Conversation

ticosax
Copy link
Contributor

@ticosax ticosax commented Aug 8, 2016

Sometimes we get a warning, warning ("Connection pool is full, discarding connection: intake.opbeat.com")

We can use block=True here instead, since we're already async, It will prevent the pool to exceed maxsize.

maxsize=2, block=True

After all it's just a warning ("Connection pool is full, discarding
connection: intake.opbeat.com") when a connection that was created after
"maxsize" have been used will not be put back into the pool.
We can use block=True here instead, since we're async.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant