Docs - Sphinx process expects a redis connection
The new Celery Taskk Stats module tries to clear its stats when AA is started.
While building the Sphinx docs, this redis clear gets triggered and excepts out.
Excepting the Redis connection works to let sphinx proceed on and build the docs but i havent spent any time to evaluate if there is a better way to handle this
def clear(self) -> None:
"""Clear all events."""
try:
self._redis.delete(self._key_sorted_set)
self._redis.delete(self._key_counter)
except redis.exceptions.ConnectionError:
pass