Skip to content

Commit

Permalink
Merge pull request #408 from LACMTA:2023-api-optimization
Browse files Browse the repository at this point in the history
Remove rate limit middleware
  • Loading branch information
albertkun authored Nov 21, 2023
2 parents 14e1ceb + 9d38558 commit df9b424
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 df9b424

Please sign in to comment.