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

Make ServiceTimer optional.

Refers to #29
parent 4fe9cd31
Branches
Tags 1.4
No related merge requests found
......@@ -57,11 +57,6 @@ namespace ATxCommon.Serializables
/// </summary>
public string TmpTransferDir { get; set; }
/// <summary>
/// The interval (in ms) for checking for new files and system parameters.
/// </summary>
public int ServiceTimer { get; set; }
/// <summary>
/// Maximum allowed CPU usage across all cores in percent. Running transfers will be paused
/// if this limit is exceeded.
......@@ -83,6 +78,11 @@ namespace ATxCommon.Serializables
/// </summary>
public bool Debug { get; set; } = false;
/// <summary>
/// The interval (in ms) for checking for new files and system parameters. Default: 1000.
/// </summary>
public int ServiceTimer { get; set; } = 1000;
/// <summary>
/// The name of a marker file to be placed in all **sub**directories
/// inside the IncomingDirectory.
......
......@@ -21,9 +21,6 @@
to be used for running transfers -->
<TmpTransferDir>d-vamp-dw</TmpTransferDir>
<!-- ServiceTimer: interval (in ms) for checking files and parameters -->
<ServiceTimer>1000</ServiceTimer>
<!-- MaxCpuUsage: pause transfer if CPU usage is above this value (in %)-->
<MaxCpuUsage>25</MaxCpuUsage>
......@@ -36,6 +33,9 @@
<!-- Debug: enable or disable debug log messages -->
<Debug>true</Debug>
<!-- ServiceTimer: interval (in ms) for checking files and parameters -->
<ServiceTimer>1000</ServiceTimer>
<!-- MarkerFile: a file to place in each user's incoming directory, the
file itself will be ignored for the transfers -->
<MarkerFile>_DO_NOT_ACQUIRE_HERE_.txt</MarkerFile>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment