Skip to content

Commit

Permalink
don't insert reload batches for self.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Apr 27, 2011
1 parent 258164b commit 9864410
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -159,8 +159,9 @@ protected void insertInitialLoadEvents() {
Map<String, NodeSecurity> nodeSecurities = nodeService.findAllNodeSecurity(false);
if (nodeSecurities != null) {
for (NodeSecurity security : nodeSecurities.values()) {
if (security.isInitialLoadEnabled()
&& (security.getRegistrationTime() != null || security.getNodeId()
if (!security.getNodeId().equals(identity.getNodeId()) &&
security.isInitialLoadEnabled() &&
(security.getRegistrationTime() != null || security.getNodeId()
.equals(identity.getCreatedAtNodeId()))) {
long ts = System.currentTimeMillis();
dataService.insertReloadEvents(nodeService.findNode(security
Expand Down

0 comments on commit 9864410

Please sign in to comment.