Skip to content
Snippets Groups Projects
Commit 03975b7c authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Make GracePeriod optional, defaulting to 30 days.

Refers to #29
parent 2af06d5e
No related branches found
No related tags found
No related merge requests found
......@@ -41,12 +41,6 @@ namespace ATxCommon.Serializables
/// </summary>
public string ManagedDirectory { get; set; }
/// <summary>
/// GracePeriod: number of days after data in the "DONE" location expires,
/// which will trigger a summary email to the admin address.
/// </summary>
public int GracePeriod { get; set; }
/// <summary>
/// A human friendly name for the target, to be used in emails etc.
/// </summary>
......@@ -161,6 +155,12 @@ namespace ATxCommon.Serializables
/// </summary>
public int StorageNotificationDelta { get; set; }
/// <summary>
/// GracePeriod: number of days after data in the "DONE" location expires,
/// which will trigger a summary email to the admin address, default: 30.
/// </summary>
public int GracePeriod { get; set; }
/// <summary>
/// A list of process names causing transfers to be suspended if running.
/// </summary>
......@@ -249,6 +249,7 @@ namespace ATxCommon.Serializables
AdminNotificationDelta = 60;
GraceNotificationDelta = 720;
StorageNotificationDelta = 720;
GracePeriod = 30;
// BlacklistedProcesses may be empty
EnforceInheritedACLs = true;
// SpaceMonitoring may be empty
......
......@@ -11,10 +11,6 @@
the transfer (sub-directory "DONE"). -->
<ManagedDirectory>ATX\MANAGED</ManagedDirectory>
<!-- GracePeriod: number of days after data in the "DONE" location expires,
which will trigger a summary email to the admin address. -->
<GracePeriod>30</GracePeriod>
<!-- DestinationAlias: friendly name for the target to be used in mails -->
<DestinationAlias>Core Facility Storage</DestinationAlias>
......@@ -85,6 +81,10 @@
in case one of the drives is below the threshold (in minutes) -->
<StorageNotificationDelta>720</StorageNotificationDelta>
<!-- GracePeriod: number of days after data in the "DONE" location expires,
which will trigger a summary email to the admin address. -->
<GracePeriod>30</GracePeriod>
<!-- BlacklistedProcesses: a list of "ProcessName" entries denoting
programs that will cause a transfer to be suspended immediately if the
name is found in the list of running processes -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment