Skip to content

Commit

Permalink
0002693: Use node cache,
Browse files Browse the repository at this point in the history
add flush of cache at registration
  • Loading branch information
erilong committed Aug 2, 2016
1 parent 14cccbe commit 422f390
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -555,6 +555,7 @@ protected String openRegistration(Node node, String remoteHost, String remoteAdd
sqlTemplate.update(getSql("openRegistrationNodeSecuritySql"), new Object[] {
nodeId, password, masterToMasterOnly ? null : me.getNodeId() });
nodeService.flushNodeAuthorizedCache();
nodeService.flushNodeCache();
nodeService.insertNodeGroup(node.getNodeGroupId(), null);
nodeService.flushNodeGroupCache();
log.info(
Expand Down

0 comments on commit 422f390

Please sign in to comment.