feat: retries of api requests in case of failure

This commit is contained in:
2024-01-18 20:50:23 +01:00
parent 7eac908bc4
commit 6e5f929dc3
7 changed files with 92 additions and 39 deletions

View File

@@ -39,6 +39,13 @@ services:
arguments:
$username: '%app.usetreno.username%'
$password: '%app.usetreno.password%'
$retryCount: 2
$retryWaitSeconds: 0.5
App\Service\Remote\UsetrenoQRCodeProvider:
arguments:
$retryCount: 2
$retryWaitSeconds: 0.5
App\Service\CachedQRCodeGenerator:
arguments: