added rate limiter
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user