Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwenzea committed May 29, 2023
1 parent d304b8e commit 1d41ac2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ public synchronized void init() throws Exception{
LOG.info("Close the idle bucket: [ name: {}, last-write-time: {} ]",
bucketName, dateFormat.format(bucketState.getBucketWriteTime()));
closeBucket = true;
} if (Objects.nonNull(bucketDriftPolicy) && bucketDriftPolicy.onPolicy(bucket, contexts)){
}
if (Objects.nonNull(bucketDriftPolicy) && bucketDriftPolicy.onPolicy(bucket, contexts)){
LOG.info("Drift the bucket: [ name: {}, last-write-time: {} ]", bucketName,
dateFormat.format(bucketState.getBucketWriteTime()));
closeBucket = true;
Expand Down

0 comments on commit 1d41ac2

Please sign in to comment.