Skip to content

Commit

Permalink
fix(s3stream): report compaction delay after two compaction period (#…
Browse files Browse the repository at this point in the history
…2243)

Signed-off-by: Shichao Nie <[email protected]>
  • Loading branch information
SCNieh authored Dec 24, 2024
1 parent e16289f commit 407af18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void start() {
}
data.sort(Comparator.comparingLong(S3ObjectMetadata::committedTimestamp));
this.compactionDelayTime = System.currentTimeMillis() - data.get(0).committedTimestamp();
}).join(), 1, 1, TimeUnit.MINUTES);
}).join(), (long) this.compactionInterval * 2, 1, TimeUnit.MINUTES);
}

void scheduleNextCompaction(long delayMillis) {
Expand Down

0 comments on commit 407af18

Please sign in to comment.