EPP server optimization

This commit is contained in:
Pinga 2025-03-29 18:10:33 +02:00
parent a89a09a381
commit ac9995b4e5
8 changed files with 247 additions and 142 deletions

View file

@ -647,6 +647,7 @@ function updatePermittedIPs($pool, $permittedIPsTable) {
$query = "SELECT addr FROM registrar_whitelist";
$stmt = $pdo->query($query);
$permittedIPs = $stmt->fetchAll(PDO::FETCH_COLUMN, 0);
$stmt->closeCursor();
$pool->put($pdo);
// Manually clear the table by removing each entry