comment of RedisStorage2 fix (#423)

This commit is contained in:
Daneel L 2020-09-13 22:07:14 +03:00 committed by Mykola Solodukha
parent b6f774cbc7
commit b1715c7ac2

View file

@ -208,7 +208,7 @@ class RedisStorage2(BaseStorage):
.. code-block:: python3
storage = RedisStorage('localhost', 6379, db=5, pool_size=10, prefix='my_fsm_key')
storage = RedisStorage2('localhost', 6379, db=5, pool_size=10, prefix='my_fsm_key')
dp = Dispatcher(bot, storage=storage)
And need to close Redis connection when shutdown