mirror of
https://github.com/xtekky/gpt4free.git
synced 2026-01-03 15:53:09 -08:00
Fix unittests, set strategy for rate limter
This commit is contained in:
parent
17d2f05d69
commit
2c895831b1
2 changed files with 3 additions and 2 deletions
|
|
@ -68,7 +68,8 @@ class Backend_Api(Api):
|
|||
app=app,
|
||||
default_limits=["200 per day", "50 per hour"],
|
||||
storage_uri="memory://",
|
||||
auto_check=False
|
||||
auto_check=False,
|
||||
strategy="moving-window",
|
||||
)
|
||||
|
||||
if has_flask_limiter and app.demo:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue