From 0244f73c2c31fb8ec1e4e9b3de3b696d25e6a3a0 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Wed, 27 Sep 2023 19:30:30 +0200 Subject: [PATCH] fix: increase API_LEGACY_MOVE_POST rate-limit Relates #866 --- website/app/GeoKrety/Service/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/app/GeoKrety/Service/Config.php b/website/app/GeoKrety/Service/Config.php index c1717b2a6c..0accfe79f5 100644 --- a/website/app/GeoKrety/Service/Config.php +++ b/website/app/GeoKrety/Service/Config.php @@ -372,7 +372,7 @@ public function __construct() { // Rate Limits define('GK_RATE_LIMITS_BYPASS', getenv('GK_RATE_LIMITS_BYPASS') ?: 'geokrety'); define('GK_RATE_LIMITS', [ - 'API_LEGACY_MOVE_POST' => [1500, 60 * 60 * 24], // 1500/day + 'API_LEGACY_MOVE_POST' => [10000, 60 * 60 * 24], // 10000/day 'API_LEGACY_PICTURE_PROXY' => [5000, 60 * 60 * 24], // 5000/day 'API_V1_CHECK_RATE_LIMIT' => [250, 60 * 60 * 24], // 25/day 'API_V1_LOGIN_2_SECID' => [25, 60 * 60 * 24], // 25/day