Skip to content

Commit

Permalink
ZCS-3347 Reapplying fix to 8.8.5 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rupalid committed Oct 26, 2017
1 parent a937046 commit 9df3008
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions store/src/java/com/zimbra/cs/service/admin/FlushCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ public static void sendFlushRequest(Map<String,Object> context, String appContex

private static void flushCacheOnAllServers(ZimbraSoapContext zsc, FlushCacheRequest req) throws ServiceException {
req.getCache().setAllServers(false); // make sure we don't go round in loops
Element request = zsc.jaxbToElement(req);

Provisioning prov = Provisioning.getInstance();
String localServerId = prov.getLocalServer().getId();
Expand All @@ -235,7 +234,7 @@ private static void flushCacheOnAllServers(ZimbraSoapContext zsc, FlushCacheRequ
if (localServerId.equals(server.getId())) {
continue;
}

Element request = zsc.jaxbToElement(req);
ZimbraLog.misc.debug("Flushing cache on server: %s", server.getName());
String adminUrl = URLUtil.getAdminURL(server, AdminConstants.ADMIN_SERVICE_URI);
SoapHttpTransport mTransport = new SoapHttpTransport(adminUrl);
Expand Down

0 comments on commit 9df3008

Please sign in to comment.