mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
Merge branch 'develop' into feat/openprovider-provider
This commit is contained in:
@@ -42,6 +42,7 @@ api_platform:
|
||||
App\Exception\TldNotSupportedException: 400
|
||||
App\Exception\UnknownRdapServerException: 400
|
||||
App\Exception\UnsupportedDsnScheme: 400
|
||||
App\Exception\RdapServerException: 400
|
||||
|
||||
# Provider exception
|
||||
App\Exception\Provider\UserNoExplicitConsentException: 451
|
||||
|
||||
@@ -24,6 +24,9 @@ doctrine:
|
||||
alias: App
|
||||
controller_resolver:
|
||||
auto_mapping: false
|
||||
dql:
|
||||
string_functions:
|
||||
JSONB_CONTAINS: Scienta\DoctrineJsonFunctions\Query\AST\Functions\Postgresql\JsonbContains
|
||||
|
||||
when@test:
|
||||
doctrine:
|
||||
|
||||
@@ -5,10 +5,28 @@ framework:
|
||||
transports:
|
||||
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
||||
async:
|
||||
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||
dsn: '%env(MESSENGER_ASYNC_TRANSPORT_DSN)%'
|
||||
retry_strategy:
|
||||
max_retries: 3
|
||||
multiplier: 2
|
||||
rdap_high:
|
||||
dsn: '%env(MESSENGER_RDAP_HIGH_TRANSPORT_DSN)%'
|
||||
options:
|
||||
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
|
||||
retry_strategy:
|
||||
delay: 1000
|
||||
multiplier: 2
|
||||
max_delay: 86400000
|
||||
|
||||
rdap_low:
|
||||
dsn: '%env(MESSENGER_RDAP_LOW_TRANSPORT_DSN)%'
|
||||
options:
|
||||
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
|
||||
retry_strategy:
|
||||
delay: 2000
|
||||
multiplier: 2
|
||||
max_delay: 86400000
|
||||
|
||||
failed: 'doctrine://default?queue_name=failed'
|
||||
# sync: 'sync://'
|
||||
|
||||
@@ -23,11 +41,9 @@ framework:
|
||||
Symfony\Component\Notifier\Message\SmsMessage: async
|
||||
|
||||
App\Message\OrderDomain: async
|
||||
App\Message\ProcessWatchlistTrigger: async
|
||||
App\Message\SendDomainEventNotif: async
|
||||
App\Message\UpdateDomainsFromWatchlist: async
|
||||
App\Message\DetectDomainChange: async
|
||||
App\Message\ProcessAllWatchlist: async
|
||||
App\Message\ProcessWatchlist: async
|
||||
App\Message\UpdateRdapServers: async
|
||||
App\Message\ValidateConnectorCredentials: async
|
||||
|
||||
# Route your messages to the transports
|
||||
# 'App\Message\YourMessage': async
|
||||
App\Message\UpdateDomain: rdap_high
|
||||
|
||||
@@ -20,7 +20,7 @@ framework:
|
||||
limit: 5
|
||||
rate: { interval: '5 minutes' }
|
||||
|
||||
rdap_requests:
|
||||
user_rdap_requests:
|
||||
policy: sliding_window
|
||||
limit: 10
|
||||
interval: '1 hour'
|
||||
interval: '1 hour'
|
||||
|
||||
Reference in New Issue
Block a user