Skip to content

Commit

Permalink
Don't use the cache to get the identity for the push and pull jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Oct 31, 2011
1 parent 6234754 commit 59f0632
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -55,7 +55,7 @@ public class PullService extends AbstractOfflineDetectorService implements IPull

synchronized public RemoteNodeStatuses pullData() {
RemoteNodeStatuses statuses = new RemoteNodeStatuses();
Node identity = nodeService.findIdentity();
Node identity = nodeService.findIdentity(false);
if (identity == null || identity.isSyncEnabled()) {
if (clusterService.lock(ClusterConstants.PULL)) {
try {
Expand Down
Expand Up @@ -65,7 +65,7 @@ public class PushService extends AbstractOfflineDetectorService implements IPush
synchronized public RemoteNodeStatuses pushData() {
RemoteNodeStatuses statuses = new RemoteNodeStatuses();

Node identity = nodeService.findIdentity();
Node identity = nodeService.findIdentity(false);
if (identity != null && identity.isSyncEnabled()) {
if (clusterService.lock(ClusterConstants.PUSH)) {
try {
Expand Down

0 comments on commit 59f0632

Please sign in to comment.