following-manager-upgrade
All checks were successful
Deploy to core / deploy (push) Successful in 1m42s

This commit is contained in:
2024-02-03 12:48:36 +03:00
parent 7f04eba208
commit 83390912e9
2 changed files with 91 additions and 16 deletions

View File

@@ -13,6 +13,7 @@ from sentry_sdk.integrations.starlette import StarletteIntegration
from starlette.applications import Starlette
from starlette.routing import Route
from services.following import FollowingManager
from services.rediscache import redis
from services.schema import resolvers
from services.search import search_service
@@ -35,6 +36,9 @@ async def start_up():
# start viewed service
await ViewedStorage.init()
# preload following data
await FollowingManager.preload()
# start search service
search_service.info()