You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Horde: Remove code to clear downtime from globals list. Downtime was not triggering due to repeated schedules being removed.
#rb none #jira UE-116835 [CL 16832084 by Ben Marsh in ue5-main branch]
This commit is contained in:
@@ -376,15 +376,5 @@ namespace HordeServer.Models
|
||||
return PerforceClusters.FirstOrDefault(x => String.Equals(x.Name, Name, StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void PostLoad()
|
||||
{
|
||||
base.PostLoad();
|
||||
|
||||
DateTimeOffset Now = DateTimeOffset.Now;
|
||||
Notices.RemoveAll(x => x.FinishTime != null && x.FinishTime < Now);
|
||||
ScheduledDowntime.RemoveAll(x => x.FinishTime < Now);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace HordeServer.Services
|
||||
/// <summary>
|
||||
/// Config file version number
|
||||
/// </summary>
|
||||
const int Version = 4;
|
||||
const int Version = 5;
|
||||
|
||||
/// <summary>
|
||||
/// Database service
|
||||
|
||||
Reference in New Issue
Block a user