fix: micro fixes
This commit is contained in:
@@ -104,4 +104,3 @@ public class AppConfig {
|
||||
return json().encode();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,6 @@ public class AuthHandler {
|
||||
if (session != null) {
|
||||
session.destroy();
|
||||
}
|
||||
// Явное удаление cookie сессии
|
||||
ctx.response().removeCookie("admin.session");
|
||||
ctx.response().end(new JsonObject().put("success", true).encode());
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class RedisRateLimiter implements Handler<RoutingContext> {
|
||||
private final ConcurrentHashMap<String, AtomicLong> blockedByClient = new ConcurrentHashMap<>();
|
||||
|
||||
public RedisRateLimiter(Redis redis, int limitPerWindow, long windowMillis) {
|
||||
this.logger = LoggerFactory.getLogger("[RedisRateLimiter]");
|
||||
this.logger = LoggerFactory.getLogger("[RateLimiter]");
|
||||
this.redis = redis;
|
||||
this.limitPerWindow = limitPerWindow;
|
||||
this.windowMillis = windowMillis;
|
||||
|
||||
@@ -11,7 +11,8 @@ import su.xserver.iikocon.service.ExternalDataBaseService;
|
||||
import java.time.LocalDate;
|
||||
import java.time.ZoneOffset;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class OlapQueryService {
|
||||
private final Pool pool;
|
||||
|
||||
@@ -8,7 +8,8 @@ import io.vertx.sqlclient.Row;
|
||||
import io.vertx.sqlclient.Tuple;
|
||||
import org.mindrot.jbcrypt.BCrypt;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class UserService {
|
||||
private final Pool pool;
|
||||
|
||||
Reference in New Issue
Block a user