Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
d4aec689
Commit
d4aec689
authored
Feb 22, 2011
by
afreyssin
Browse files
Allows to configure the thread priority of Engine through Engine.threadPriority property.
parent
32365b4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/a3/rt/src/main/java/fr/dyade/aaa/agent/Engine.java
View file @
d4aec689
...
...
@@ -733,6 +733,8 @@ class Engine implements Runnable, MessageConsumer, EngineMBean {
if
(
isRunning
)
return
;
thread
=
new
EngineThread
(
this
);
int
priority
=
AgentServer
.
getInteger
(
"Engine.threadPriority"
,
Thread
.
MAX_PRIORITY
).
intValue
();
thread
.
setPriority
(
priority
);
thread
.
setDaemon
(
false
);
logmon
.
log
(
BasicLevel
.
DEBUG
,
getName
()
+
" starting."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment