From 1a9cca0640d1595e624f2ad211b15d051de58108 Mon Sep 17 00:00:00 2001 From: Antoine Boucher Date: Sat, 2 Mar 2024 19:19:53 -0500 Subject: [PATCH] Update app.py --- api/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/app.py b/api/app.py index 33175d1..1166ea4 100644 --- a/api/app.py +++ b/api/app.py @@ -655,10 +655,7 @@ async def close(self): async with self.session_lock: self.stop_polling() # Stop the polling if self.session and not self.session.closed and self.active_requests == 0: - self.session_key = None - self.session_key_expiry = datetime.datetime.now(datetime.timezone.utc) await self.session.close() # Close the session - self.session = None class AuthenticationError(Exception): pass