This is an automated email from the ASF dual-hosted git repository.

arvid pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git


The following commit(s) were added to refs/heads/master by this push:
     new f5876a3  [FLINK-22290][checkpointing] Use duration for alignment 
timeout.
f5876a3 is described below

commit f5876a395f5addd48219075f09b2b78fe8eb90cd
Author: Arvid Heise <[email protected]>
AuthorDate: Thu Apr 15 15:09:14 2021 +0200

    [FLINK-22290][checkpointing] Use duration for alignment timeout.
---
 .../org/apache/flink/benchmark/UnalignedCheckpointTimeBenchmark.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/flink/benchmark/UnalignedCheckpointTimeBenchmark.java
 
b/src/main/java/org/apache/flink/benchmark/UnalignedCheckpointTimeBenchmark.java
index 441fba0..c40a3e3 100644
--- 
a/src/main/java/org/apache/flink/benchmark/UnalignedCheckpointTimeBenchmark.java
+++ 
b/src/main/java/org/apache/flink/benchmark/UnalignedCheckpointTimeBenchmark.java
@@ -88,7 +88,7 @@ public class UnalignedCheckpointTimeBenchmark extends 
BenchmarkBase {
             env.setParallelism(parallelism);
             env.enableCheckpointing(CHECKPOINT_INTERVAL_MS);
             env.getCheckpointConfig().enableUnalignedCheckpoints(true);
-            env.getCheckpointConfig().setAlignmentTimeout(0);
+            env.getCheckpointConfig().setAlignmentTimeout(Duration.ZERO);
         }
 
         protected Configuration createConfiguration() {

Reply via email to