Skip to content

Commit

Permalink
Merge pull request #61 from observerly/chore/dependencies/redis
Browse files Browse the repository at this point in the history
chore: Upgrade to use redis v4.*.* in favour of deprecated aioredis.
  • Loading branch information
michealroberts authored Nov 17, 2022
2 parents e88695a + 71926c1 commit 7dbac98
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 89 deletions.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import aioredis
import sentry_sdk
from fastapi import FastAPI, Request
from fastapi.middleware.cors import CORSMiddleware
Expand All @@ -7,6 +6,7 @@
from fastapi.responses import ORJSONResponse, RedirectResponse
from fastapi_cache import FastAPICache
from fastapi_cache.backends.redis import RedisBackend
from redis import asyncio as aioredis
from sentry_sdk.integrations.asgi import SentryAsgiMiddleware

from app.api.api_v1.api import api_router
Expand Down
Loading

0 comments on commit 7dbac98

Please sign in to comment.