Fix typo [ci skip]
This commit is contained in:
parent
8ed276c1b8
commit
ae5309a476
@ -43,7 +43,7 @@ async def http_exception_handler(request, exc):
|
||||
|
||||
|
||||
@app.on_event("startup")
|
||||
async def starup_event():
|
||||
async def startup_event():
|
||||
redis = Redis()
|
||||
app.state.redis = await redis.create_pool(
|
||||
f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_DB}?encoding=utf-8"
|
||||
|
Loading…
Reference in New Issue
Block a user