ahanikel commented on code in PR #760: URL: https://github.com/apache/jackrabbit-oak/pull/760#discussion_r1027810157
########## oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureRepositoryLock.java: ########## @@ -121,6 +132,21 @@ private void refreshLease() { } } + private void notifyLockStatusChange(LockStatus renewal) { + try { + lockStatusChangedCallback.accept(renewal); + } catch (RuntimeException e) { + log.warn("Exception in lock status change callback", e); + } + } + + void doRenewLease() throws StorageException { + BlobRequestOptions blobRequestOptions = new BlobRequestOptions(); + blobRequestOptions.setMaximumExecutionTimeInMs(Math.max(INTERVAL - renewalInterval - 1, INTERVAL / 2 - 1)); Review Comment: Could you add a comment here that explains this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org