mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
fix: remove slowapi limiter for testing
This commit is contained in:
parent
36836a1d8b
commit
ca3710a239
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ from sqlalchemy import text
|
|||
from sqlalchemy.ext.asyncio import create_async_engine
|
||||
from sqlalchemy.pool import NullPool
|
||||
|
||||
from app.app import app
|
||||
from app.app import app, limiter
|
||||
from app.config import config as app_config
|
||||
from app.db import Base
|
||||
from app.services.task_dispatcher import get_task_dispatcher
|
||||
|
|
@ -35,6 +35,8 @@ from tests.utils.helpers import (
|
|||
get_search_space_id,
|
||||
)
|
||||
|
||||
limiter.enabled = False
|
||||
|
||||
_EMBEDDING_DIM = app_config.embedding_model_instance.dimension
|
||||
_ASYNCPG_URL = TEST_DATABASE_URL.replace("postgresql+asyncpg://", "postgresql://")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue