This commit is contained in:
2025-11-25 13:06:07 -05:00
parent 476c4e6e51
commit 85298b861d
3 changed files with 54 additions and 33 deletions

View File

@@ -80,9 +80,9 @@ class LyricSearch(FastAPI):
)
for endpoint, handler in self.endpoints.items():
times: int = 20
times: int = 5
seconds: int = 2
rate_limit: tuple[int, int] = (2, 3) # Default; (Times, Seconds)
rate_limit: tuple[int, int] = (times, seconds) # Default; (Times, Seconds)
_schema_include = endpoint in ["lyric/search"]
if (