mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
comment of RedisStorage2 fix (#423)
This commit is contained in:
parent
a529619d79
commit
fce48e3127
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue