You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it turns out that potentially if few of the connections getting killed at the same time it could raise an error because PriorityQueue tries to compare two instances of Connection.
In my opinion, two instances of Connection should be considered equal and PriorityQueue then can easily handle such a situation.
I'd gladly provide a PR for that feature if you're okay with this.
I recently started investigating this issue in aioelasticsearch:
aio-libs/aioelasticsearch#100
And it turns out that potentially if few of the connections getting killed at the same time it could raise an error because PriorityQueue tries to compare two instances of Connection.
In my opinion, two instances of Connection should be considered equal and PriorityQueue then can easily handle such a situation.
I'd gladly provide a PR for that feature if you're okay with this.
Here's what I did in case of aioelasticsearch:
aio-libs/aioelasticsearch#164
The text was updated successfully, but these errors were encountered: