wabbajack/Wabbajack.Server/GlobalInformation.cs

13 lines
372 B
C#
Raw Normal View History

using System;
namespace Wabbajack.Server
{
public class GlobalInformation
{
public TimeSpan NexusRSSPollRate = TimeSpan.FromMinutes(1);
2020-05-14 22:21:56 +00:00
public TimeSpan NexusAPIPollRate = TimeSpan.FromHours(24);
public DateTime LastNexusSyncUTC { get; set; }
public TimeSpan TimeSinceLastNexusSync => DateTime.UtcNow - LastNexusSyncUTC;
}
}