-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathConstants.cs
More file actions
19 lines (14 loc) · 950 Bytes
/
Constants.cs
File metadata and controls
19 lines (14 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace OpenShock.Common.Constants;
public static class Duration
{
public static readonly TimeSpan AuditRetentionTime = TimeSpan.FromDays(90);
public static readonly TimeSpan ShockerControlLogRetentionTime = TimeSpan.FromDays(365);
public static readonly TimeSpan PasswordResetRequestLifetime = TimeSpan.FromHours(1);
public static readonly TimeSpan NameChangeCooldown = TimeSpan.FromDays(7);
public static readonly TimeSpan LoginSessionLifetime = TimeSpan.FromDays(30);
public static readonly TimeSpan LoginSessionExpansionAfter = TimeSpan.FromDays(1);
public static readonly TimeSpan DevicePingInitialDelay = TimeSpan.FromSeconds(5);
public static readonly TimeSpan DevicePingPeriod = TimeSpan.FromSeconds(15);
public static readonly TimeSpan DeviceKeepAliveInitialTimeout = TimeSpan.FromSeconds(65);
public static readonly TimeSpan DeviceKeepAliveTimeout = TimeSpan.FromSeconds(35);
}