diff options
author | 2022-07-25 23:57:57 +0100 | |
---|---|---|
committer | 2022-07-25 22:57:57 +0000 | |
commit | 9c36ea812da7af116e126054bc9891c0fa44fc49 (patch) | |
tree | f24728acdedfb3f6452a22275f6d18f0bb704169 | |
parent | Merge pull request #110 from python-discord/async-rediscache-bump (diff) |
Remove explicit cleanup of the redis session (#111)v8.0.0-beta.4
-rw-r--r-- | botcore/_bot.py | 3 | ||||
-rw-r--r-- | pyproject.toml | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/botcore/_bot.py b/botcore/_bot.py index e3d9aac3..bb25c0b5 100644 --- a/botcore/_bot.py +++ b/botcore/_bot.py @@ -284,8 +284,5 @@ class BotBase(commands.Bot): if getattr(self.stats, "_transport", False): self.stats._transport.close() - if getattr(self, "redis_session", False): - await self.redis_session.close() - if self._statsd_timerhandle: self._statsd_timerhandle.cancel() diff --git a/pyproject.toml b/pyproject.toml index ca5f0d57..bffaf1b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bot-core" -version = "8.0.0-beta.3" +version = "8.0.0-beta.4" description = "Bot-Core provides the core functionality and utilities for the bots of the Python Discord community." authors = ["Python Discord <[email protected]>"] license = "MIT" |