update-redis-api
Some checks failed
Deploy to core / deploy (push) Failing after 1m27s

This commit is contained in:
2024-02-21 16:06:24 +03:00
parent 33330fb052
commit 63f5a708b7
7 changed files with 147 additions and 83 deletions

View File

@@ -7,6 +7,7 @@ from ariadne.asgi import GraphQL
from starlette.applications import Starlette
from starlette.routing import Route
from resolvers.author_events import update_cache, scheduled_cache_update
from services.rediscache import redis
from services.schema import resolvers
from services.search import search_service
@@ -36,6 +37,8 @@ app = Starlette(
on_startup=[
redis.connect,
ViewedStorage.init,
update_cache,
scheduled_cache_update,
search_service.info,
# start_sentry,
start,