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:
Jack Robison 2020-04-30 12:22:46 -04:00 committed by GitHub
commit b6f6994db4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ class ClientSession(BaseClientSession):
raise
except asyncio.CancelledError:
log.info("cancelled sending %s to %s:%i", method, *self.server)
self.synchronous_close()
# self.synchronous_close()
raise
finally:
self.pending_amount -= 1