added rate limiter

This commit is contained in:
Lincpay Tech
2025-12-12 18:52:53 +05:30
parent b3c507338e
commit 53641d97ea
12 changed files with 435 additions and 5 deletions
+14 -1
View File
@@ -180,6 +180,19 @@
<optional>true</optional>
</dependency>
<!-- Redis (Spring Data Redis + Lettuce) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- Bucket4j core for local token-bucket smoothing -->
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>bucket4j-core</artifactId>
<version>7.6.0</version>
</dependency>
</dependencies>
<build>
@@ -208,4 +221,4 @@
<finalName>BBPS</finalName>
</build>
</project>
</project>