mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 11:08:04 +01:00
Remove now-unused rate limiters
This commit is contained in:
committed by
Jon Chambers
parent
4efba94662
commit
101ecf342f
@@ -133,7 +133,6 @@ class DeviceControllerTest {
|
||||
@BeforeEach
|
||||
void setup() {
|
||||
when(rateLimiters.getSmsDestinationLimiter()).thenReturn(rateLimiter);
|
||||
when(rateLimiters.getVoiceDestinationLimiter()).thenReturn(rateLimiter);
|
||||
when(rateLimiters.getVerifyLimiter()).thenReturn(rateLimiter);
|
||||
when(rateLimiters.getAllocateDeviceLimiter()).thenReturn(rateLimiter);
|
||||
when(rateLimiters.getVerifyDeviceLimiter()).thenReturn(rateLimiter);
|
||||
|
||||
@@ -43,7 +43,7 @@ public class RateLimitersTest {
|
||||
|
||||
private static final String BAD_YAML = """
|
||||
limits:
|
||||
smsVoicePrefix:
|
||||
prekeys:
|
||||
bucketSize: 150
|
||||
permitRegenerationDuration: PT6S
|
||||
unexpected:
|
||||
@@ -53,7 +53,7 @@ public class RateLimitersTest {
|
||||
|
||||
private static final String GOOD_YAML = """
|
||||
limits:
|
||||
smsVoicePrefix:
|
||||
prekeys:
|
||||
bucketSize: 150
|
||||
permitRegenerationDuration: PT6S
|
||||
attachmentCreate:
|
||||
|
||||
Reference in New Issue
Block a user