Skip to content

Commit

Permalink
fix(setup): Increase rate limit
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Feb 6, 2024
1 parent a4a0af9 commit 89876e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/AutoConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ public function queryMx(string $email): JsonResponse {
* @param int $port
*
* @NoAdminRequired
* @UserRateThrottle(limit=10, period=60)
* @UserRateThrottle(limit=30, period=60)
*
* @return JsonResponse
*/
#[TrapError]
#[UserRateLimit(limit: 10, period: 60)]
#[UserRateLimit(limit: 30, period: 60)]
public function testConnectivity(string $host, int $port): JsonResponse {
if (!in_array($port, [143, 993, 465, 587])) {
return JsonResponse::fail('Port not allowed');
Expand Down

0 comments on commit 89876e1

Please sign in to comment.