forked from LBRYCommunity/lbry-sdk
Merge pull request #2934 from lbryio/fix-disconnect-on-cancelled-request
don't close the wallet server connection upon a cancelled request
This commit is contained in:
commit
b6f6994db4
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class ClientSession(BaseClientSession):
|
||||||
raise
|
raise
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
log.info("cancelled sending %s to %s:%i", method, *self.server)
|
log.info("cancelled sending %s to %s:%i", method, *self.server)
|
||||||
self.synchronous_close()
|
# self.synchronous_close()
|
||||||
raise
|
raise
|
||||||
finally:
|
finally:
|
||||||
self.pending_amount -= 1
|
self.pending_amount -= 1
|
||||||
|
|
Loading…
Reference in a new issue