Skip to content

Commit

Permalink
test: commented out rate limit middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
albertkun committed Nov 21, 2023
1 parent 7359dae commit 9d38558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async def dispatch(self, request: Request, call_next):
from sqlalchemy import Table

app = FastAPI(openapi_tags=tags_metadata,docs_url="/")
app.add_middleware(RateLimitMiddleware, limit=100, interval=60)
# app.add_middleware(RateLimitMiddleware, limit=100, interval=60)

# db = connect(host=''ort=0, timeout=None, source_address=None)

Expand Down

0 comments on commit 9d38558

Please sign in to comment.