comment of RedisStorage2 fix (#423)

This commit is contained in:
Daneel L 2020-09-13 22:07:14 +03:00 committed by GitHub
parent a529619d79
commit fce48e3127
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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