Skip to content

Bump async-rediscache to v1.0.0-rc2 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions botcore/_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ async def setup_hook(self) -> None:
)
self.http.connector = self._connector

if getattr(self, "redis_session", False) and self.redis_session.closed:
if getattr(self, "redis_session", False) and not self.redis_session.valid:
# If the RedisSession was somehow closed, we try to reconnect it
# here. Normally, this shouldn't happen.
await self.redis_session.connect()
await self.redis_session.connect(ping=True)

# Create dummy stats client first, in case `statsd_url` is unreachable or None
self.stats = AsyncStatsClient(loop, "127.0.0.1")
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Changelog
=========

- :breaking:`110` Bump async-rediscache to v1.0.0-rc2
- :support:`108` Bump Python version to 3.10.*
- :bug:`107` Declare aiodns as a project dependency.
- :support:`107` Add a sample project with boilerplate and documentation explaining how to develop for bot-core.
Expand Down
Loading