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
17d71efd
Commit
17d71efd
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Make ServiceTimer optional.
Refers to
#29
parent
4fe9cd31
Branches
Branches containing commit
Tags
1.4
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
+5
-5
5 additions, 5 deletions
ATxCommon/Serializables/ServiceConfig.cs
Resources/conf/config.common.xml
+3
-3
3 additions, 3 deletions
Resources/conf/config.common.xml
with
8 additions
and
8 deletions
ATxCommon/Serializables/ServiceConfig.cs
+
5
−
5
View file @
17d71efd
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Resources/conf/config.common.xml
+
3
−
3
View file @
17d71efd
...
...
@@ -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>
...
...
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