Repository navigation
Replies: 4 comments
|
Dans
Cela va devenir un paramètre dans Mercator. |
0 replies
|
Merci beaucoup.. |
0 replies
|
Il est maintenant possible de configurer le |
0 replies
|
Bonjour Didier,
Super, merci beaucoup.
Olivier
Il est maintenant possible de configurer le throttle via le fichier .env :
#################################################################
# API Rate Limiting
#################################################################
# Limits API requests to protect server resources
# Format: API_RATE_LIMIT requests per API_RATE_LIMIT_DECAY minute(s)
#
# Examples:
# 60,1 = 60 req/min (default - normal usage)
# 120,1 = 120 req/min (development/testing)
# 1000,60 = 1000 req/hour (public API)
# 10000,1440 = 10000 req/day (third-party integrations)
#
# Returns HTTP 429 (Too Many Requests) when exceeded
#################################################################
API_RATE_LIMIT=60
API_RATE_LIMIT_DECAY=1
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you modified the open/close state. Message ID: <dbarzin/mercator/repo-discussions/1914/comments/15572640 @ github . com>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello/Bonjour,
[french] english below
J'essaye de charger une base de démo mercator sur mon PC , en utilisant python et curl pour debugger et en passant par l'API.
Malgré un nombre incalculable de time.sleep, je reçois des "too many attempts".
j'aimerais savoir, à partir de combien de secondes, on peut relancer ? ou s'il y a un moyen de faire un sync ou commit avant de continuer?
[English]
I am trying to populate a demo datase in a free mercator instance. To do so I am using python and curl through API.
Curl and not requests to be sure that I can check every step through bash.
Despite the fact that I have added a lot of time.sleep and retry, as soon as I get a "too many atempts" I am blocked for a long amount of time.
I would like to know how it is unlocked? is it after x seconds? do we have an opportunity to use a kind of sync or commit to unlock??
Merci d'avance/Thanks in advance
All reactions