Skip to content

Commit

Permalink
allow the sync_url to be blank if we have a registration.url to use
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Mar 13, 2013
1 parent f5586b7 commit 3904696
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -131,7 +131,8 @@ synchronized public RemoteNodeStatuses pushData(boolean force) {

public void execute(NodeCommunication nodeCommunication, RemoteNodeStatus status) {
Node node = nodeCommunication.getNode();
if (StringUtils.isNotBlank(node.getSyncUrl())) {
if (StringUtils.isNotBlank(node.getSyncUrl()) ||
!parameterService.isRegistrationServer()) {
try {
startTimesOfNodesBeingPushedTo.put(node.getNodeId(), new Date());
long reloadBatchesProcessed = 0;
Expand Down

0 comments on commit 3904696

Please sign in to comment.