mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-23 10:20:33 +01:00
Update rate-limiting for requests matching specific criteria
This commit is contained in:
committed by
Jon Chambers
parent
64eeb1e361
commit
eedeaaecee
@@ -10,7 +10,6 @@ import static org.junit.Assert.assertTrue;
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.whispersystems.textsecuregcm.limits.RateLimitChallengeManager;
|
||||
@@ -45,7 +44,6 @@ public class MessageControllerMetricsTest extends AbstractRedisClusterTest {
|
||||
mock(RateLimitChallengeManager.class),
|
||||
mock(ReportMessageManager.class),
|
||||
getRedisCluster(),
|
||||
mock(ScheduledExecutorService.class),
|
||||
mock(ExecutorService.class));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user