Skip to content
Permalink
Browse files

0002693: Use node cache,

add flush of cache at registration
  • Loading branch information...
erilong committed Aug 2, 2016
1 parent 14cccbe commit 422f390919d090c66744c16fae59eb3fcbbe50fd
@@ -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(

0 comments on commit 422f390

Please sign in to comment.
You can’t perform that action at this time.