Skip to content

Commit

Permalink
fixed replication issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hngrylobster committed Aug 17, 2022
1 parent d923bdd commit ec5819d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,8 @@ public void updateAsset(@Nonnull Asset newAsset, JSONObject innerObj, ResourceRe
break;
}

// set the sync time
map.put(Constants.BRC_LASTSYNC, com.coresecure.brightcove.wrapper.utils.JcrUtil.now2calendar());

String key = getKey(x);

Expand Down Expand Up @@ -1048,9 +1050,6 @@ else if (x.equals(Constants.LINK)) {
}
}

//AFTER SETTING ALL THE METADATA - SET THE LAST UPDATE TIME
//SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
map.put(Constants.BRC_LASTSYNC, com.coresecure.brightcove.wrapper.utils.JcrUtil.now2calendar());
resourceResolver.commit();
LOGGER.trace(">>UPDATED METADATA FOR VIDEO : [{}]",map.get(Constants.BRC_ID));

Expand Down

0 comments on commit ec5819d

Please sign in to comment.