Skip to content

Commit

Permalink
fix: increase API_LEGACY_MOVE_POST rate-limit
Browse files Browse the repository at this point in the history
Relates #866
  • Loading branch information
kumy committed Sep 27, 2023
1 parent c13d4bd commit 0244f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/app/GeoKrety/Service/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0244f73

Please sign in to comment.