Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
13ced4c3
Commit
13ced4c3
authored
Sep 16, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix merge
parent
3fbc638a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
SharedMemory.cc
extensions/SharedMemory/SharedMemory.cc
+5
-12
No files found.
extensions/SharedMemory/SharedMemory.cc
View file @
13ced4c3
...
...
@@ -80,14 +80,9 @@ SharedMemory::SharedMemory( ObjectId id, string datafile ):
e_filter
=
conf
->
getArgParam
(
"--e-filter"
);
buildEventList
(
cnode
);
evntPause
=
conf
->
getArgInt
(
"--e-startup-pause"
);
if
(
evntPause
<=
0
)
evntPause
=
5000
;
activateTimeout
=
conf
->
getArgInt
(
"--activate-timeout"
);
if
(
activateTimeout
<=
0
)
activateTimeout
=
10000
;
evntPause
=
conf
->
getArgPInt
(
"--e-startup-pause"
,
5000
);
activateTimeout
=
conf
->
getArgPInt
(
"--activate-timeout"
,
10000
);
siPulsar
.
id
=
DefaultObjectId
;
siPulsar
.
node
=
DefaultObjectId
;
...
...
@@ -104,9 +99,7 @@ SharedMemory::SharedMemory( ObjectId id, string datafile ):
}
siPulsar
.
node
=
conf
->
getLocalNode
();
msecPulsar
=
conf
->
getArgInt
(
"--pulsar-msec"
,
it
.
getProp
(
"pulsar_msec"
));
if
(
msecPulsar
<=
0
)
msecPulsar
=
5000
;
msecPulsar
=
conf
->
getArgPInt
(
"--pulsar-msec"
,
it
.
getProp
(
"pulsar_msec"
),
5000
);
}
}
...
...
@@ -388,8 +381,8 @@ bool SharedMemory::readItem( UniXML& xml, UniXML_iterator& it, xmlNode* sec )
if
(
heartbeat_node
!=
it
.
getProp
(
"heartbeat_node"
)
)
return
true
;
int
i
=
atoi
(
it
.
getProp
(
"heartbeat"
).
c_str
()
);
if
(
i
<=
0
)
int
i
=
it
.
getIntProp
(
"heartbeat"
);
if
(
i
<=
0
)
return
true
;
if
(
it
.
getProp
(
"iotype"
)
!=
"AI"
)
...
...
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