#rb Martin.Ridgers
#rnx
- To select a primary endpoint we will iterate over all known endpoints in order and run the latency test on them, stopping on the first endpoint that responds. This normally should take 10s of ms but in a bad network environment could easily take longer.
- In addition the call to ::AddDeferredTocs usually should just be collecting the result of previous work but depending on the local settings could try to generate a .iochunktoc from disk or download it from the newly selected primary endpoint both of which can take 100s of ms to complete.
- Moved the code into a new method FOnDemandIoBackend::InitializePrimaryEndpoint and instead of calling it once the distribution endpoint request has resolved (which will be from Tick on the GameThread) we run it right at the start of the Ias.Http thread.
- Added some additional logging to make initialization easier to track.
- Promoted the warning given if we fail to find any endpoint from the distribution point to an error.
- Add a log error if we fail LatencyTests with all endpoints.
[CL 28756498 by paul chipchase in ue5-main branch]