Skip to content

Commit

Permalink
send automatic initial load once
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Dec 21, 2007
1 parent cce348c commit c21c97a
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -108,7 +108,11 @@ public boolean registerNode(Node node, OutputStream out) throws IOException {
Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR });
boolean success = writeConfiguration(node, out);
if (success && autoReload) {
dataService.reloadNode(node.getNodeId());
// only send automatic initial load once
NodeSecurity security = nodeService.findNodeSecurity(node.getNodeId());
if (security != null && security.getInitialLoadTime() == null) {
dataService.reloadNode(node.getNodeId());
}
}
return success;
}
Expand Down

0 comments on commit c21c97a

Please sign in to comment.