pointing towards reactive redis

This commit is contained in:
Spencer Gibb
2017-08-07 12:55:15 -06:00
parent 512cba5e3b
commit b762e9ddbc
2 changed files with 2 additions and 1 deletions

View File

@@ -64,7 +64,7 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
<optional>true</optional>
</dependency>
<dependency>

View File

@@ -36,6 +36,7 @@ public class RedisRateLimiter implements RateLimiter {
*/
@Override
//TODO: signature? params (tuple?).
//TODO: change to Mono<?>
public Response isAllowed(String id, int replenishRate, int burstCapacity) {
try {