mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
refactor: remove rate limiter and use retry strategy
This commit is contained in:
@@ -14,8 +14,7 @@ framework:
|
||||
retry_strategy:
|
||||
delay: 1000
|
||||
multiplier: 2
|
||||
max_retries: 10
|
||||
max_delay: 10000
|
||||
max_delay: 86400000
|
||||
|
||||
failed: 'doctrine://default?queue_name=failed'
|
||||
# sync: 'sync://'
|
||||
@@ -37,6 +36,3 @@ framework:
|
||||
App\Message\UpdateRdapServers: async
|
||||
App\Message\ValidateConnectorCredentials: async
|
||||
App\Message\UpdateDomain: rdap_async
|
||||
|
||||
# Route your messages to the transports
|
||||
# 'App\Message\YourMessage': async
|
||||
|
||||
@@ -24,8 +24,3 @@ framework:
|
||||
policy: sliding_window
|
||||
limit: 10
|
||||
interval: '1 hour'
|
||||
|
||||
rdap_requests:
|
||||
policy: sliding_window
|
||||
limit: 2
|
||||
interval: '1 second'
|
||||
|
||||
Reference in New Issue
Block a user