This commit is contained in:
5
main.py
5
main.py
@@ -7,7 +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.follows import FollowsCached
|
||||
from services.rediscache import redis
|
||||
from services.schema import resolvers
|
||||
from services.search import search_service
|
||||
@@ -37,8 +37,7 @@ app = Starlette(
|
||||
on_startup=[
|
||||
redis.connect,
|
||||
ViewedStorage.init,
|
||||
update_cache,
|
||||
scheduled_cache_update,
|
||||
FollowsCached.worker,
|
||||
search_service.info,
|
||||
# start_sentry,
|
||||
start,
|
||||
|
Reference in New Issue
Block a user