Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
fec9ee89
Commit
fec9ee89
authored
Jan 30, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default value for max number of events
parent
ce6377a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
java/jpwr/rt/src/MhServer.java
java/jpwr/rt/src/MhServer.java
+3
-2
No files found.
java/jpwr/rt/src/MhServer.java
View file @
fec9ee89
/*
/*
* Proview $Id: MhServer.java,v 1.
5 2006-04-24 13:21:46
claes Exp $
* Proview $Id: MhServer.java,v 1.
6 2007-01-30 06:49:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -177,9 +177,10 @@ public class MhServer
...
@@ -177,9 +177,10 @@ public class MhServer
maxConnections
=
cdhrMaxCon
.
value
;
maxConnections
=
cdhrMaxCon
.
value
;
maxAlarms
=
cdhrMaxAlarms
.
value
;
maxAlarms
=
cdhrMaxAlarms
.
value
;
maxEvents
=
cdhrMaxEvents
.
value
;
//pga bugg i proview, MaxNoOfAlarms syns ej i arbetsbnken
//pga bugg i proview, MaxNoOfAlarms syns ej i arbetsbnken
if
(
maxAlarms
==
0
)
maxAlarms
=
100
;
if
(
maxAlarms
==
0
)
maxAlarms
=
100
;
maxEvents
=
cdhrMaxEvents
.
value
;
if
(
maxEvents
==
0
)
maxEvents
=
200
;
//currentConnectionsStr = cdhrString.str + ".CurrentConnections";
//currentConnectionsStr = cdhrString.str + ".CurrentConnections";
//setCurrentConnections(threadCount);
//setCurrentConnections(threadCount);
errh
.
info
(
"MhServer started, MaxConnections: "
+
maxConnections
);
errh
.
info
(
"MhServer started, MaxConnections: "
+
maxConnections
);
...
...
Write
Preview
Markdown
is supported
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