Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/SmartlingLocalization
leon huang 09eecdabde Localization: Introduced retry mechanism with exponential backoff for downloading files.
- The default timeout for HttpClient is 100s, this can result in certain files not being able to be downloaded in time. The httpResponse is never received. From experiments, it seems responses can take ~160s to respond during busier network traffic.
- Introduced retries up to 5 times with exponential backoff of multiples of 150s when requesteing the HttpResponse. First try is 150s, second is 300s etc
- Introduced authentication token refreshing. This cuts down the amount of time required to retrieve a new authentication token. Introduced to ensure that the token used after a retry will still be valid.
#jira: none
#rb: Jamie.Dale, Vincent.Gauthier
#preflight: 6425645f5e52099fe3c85006
#test: Ran UAT locally with teh Localize command. Timeouts of 150s seems to work within 2 tries of exponential backoff while downloading the files. No additional timeout exceptions have been encountered so far.

[CL 24868100 by leon huang in ue5-main branch]
2023-03-31 02:58:08 -04:00
..