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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
b31ebbc3
Commit
b31ebbc3
authored
Jul 23, 2018
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Set the log levels for performance monitors during object construction
Refers to
#50
parent
c6cce029
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ATxService/AutoTx.cs
+2
-0
2 additions, 0 deletions
ATxService/AutoTx.cs
with
2 additions
and
0 deletions
ATxService/AutoTx.cs
+
2
−
0
View file @
b31ebbc3
...
...
@@ -324,6 +324,7 @@ namespace ATxService
Interval
=
250
,
Limit
=
_config
.
MaxCpuUsage
,
Probation
=
16
,
LogPerformanceReadings
=
_config
.
MonitoringLogLevel
,
Enabled
=
true
};
_cpu
.
LoadAboveLimit
+=
OnLoadAboveLimit
;
...
...
@@ -345,6 +346,7 @@ namespace ATxService
Interval
=
250
,
Limit
=
(
float
)
_config
.
MaxDiskQueue
/
1000
,
Probation
=
16
,
LogPerformanceReadings
=
_config
.
MonitoringLogLevel
,
Enabled
=
true
};
_phyDisk
.
LoadAboveLimit
+=
OnLoadAboveLimit
;
...
...
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
sign in
to comment