Commit Graph

7 Commits

Author SHA1 Message Date
Ben Marsh
22ef1f2be7 Horde: Fix race condition in lease assignment caused by task sources which need to execute async operations before being able to determine if a lease is available.
The AssignLeaseAsync() method now returns a Task<Task<AgentLease>>. The outer task is awaited on each task source in priority order, and all inner tasks are awaited in parallell. Utility methods in TaskSourceBase (Skip/DrainAsync/Lease) exist to simplify creation of task objects to return.

#preflight none

[CL 19535087 by Ben Marsh in ue5-main branch]
2022-03-28 19:03:36 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
Ben Marsh
cff5ed646f Horde: Enable code analysis warnings for Horde.Build (currently IDE only due to long build times, but also enabled in Docker builds)
[CL 18462178 by Ben Marsh in ue5-main branch]
2021-12-14 18:44:21 -05:00
Ben Marsh
8ba312c962 Horde: Missing files.
[CL 17838512 by Ben Marsh in ue5-main branch]
2021-10-16 15:10:01 -04:00
Joe Kirchoff
2bc7227518 UnrealBuildTool: Clean up some intellisense suggestions, format documents, remove and sort usings, etc.
#rb trivial
#rnx

[CL 17059447 by Joe Kirchoff in ue5-main branch]
2021-08-04 16:49:28 -04:00
Ben Marsh
df8f56b55f Horde: Catch exceptions thrown when waiting for tasks to complete.
[CL 16547590 by Ben Marsh in ue5-main branch]
2021-06-03 10:55:49 -04:00
Ben Marsh
cbe83e599d Merging additional changes from Horde fork of EpicGames.Core.
#rb none
#rnx

[CL 14967570 by Ben Marsh in ue5-main branch]
2020-12-28 14:45:25 -04:00