Skip to content

Commit

Permalink
chore: ignore unknown properties in TokenRateLimit (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
astsiapanay authored Dec 20, 2024
1 parent d2039ad commit 7f1be53
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
import com.epam.aidial.core.config.Limit;
import com.epam.aidial.core.server.data.LimitStats;
import com.epam.aidial.core.storage.http.HttpStatus;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.apache.commons.lang3.math.NumberUtils;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class TokenRateLimit {

private final RateBucket minute = new RateBucket(RateWindow.MINUTE);
Expand Down

0 comments on commit 7f1be53

Please sign in to comment.