Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auto-tx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
03975b7c
Commit
03975b7c
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Make GracePeriod optional, defaulting to 30 days.
Refers to
#29
parent
2af06d5e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ATxCommon/Serializables/ServiceConfig.cs
+7
-6
7 additions, 6 deletions
ATxCommon/Serializables/ServiceConfig.cs
Resources/conf/config.common.xml
+4
-4
4 additions, 4 deletions
Resources/conf/config.common.xml
with
11 additions
and
10 deletions
ATxCommon/Serializables/ServiceConfig.cs
+
7
−
6
View file @
03975b7c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Resources/conf/config.common.xml
+
4
−
4
View file @
03975b7c
...
...
@@ -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 -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment