change convex from runtime to worker pool
Build and Push Docker Container / build-and-push (push) Successful in 1m52s
Build and Push Docker Container / build-and-push (push) Successful in 1m52s
This commit is contained in:
@@ -4,6 +4,7 @@ from my_modules.AsyncCache import AsyncCache
|
||||
from my_modules.app.logger import logger
|
||||
|
||||
from my_helpers.db.convex.ConvexRuntime import ConvexRuntime
|
||||
from my_helpers.db.convex.ConvexWorkerPool import ConvexWorkerPool
|
||||
from my_modules.db.ConvexDB import ConvexDB
|
||||
|
||||
from quart_session import Session
|
||||
@@ -66,7 +67,7 @@ LIMITER = Limiter(
|
||||
strategy='moving-window'
|
||||
)
|
||||
|
||||
convex_runtime = ConvexRuntime(os.getenv("CONVEX_URL"))
|
||||
convex_runtime = ConvexWorkerPool(os.getenv("CONVEX_URL"))
|
||||
|
||||
@app.before_serving
|
||||
async def init_convex():
|
||||
|
||||
Reference in New Issue
Block a user