Commit c335a8d1 authored by zhoushiguang's avatar zhoushiguang

setMaxConcurrentCheckpoints

parent 25261090
......@@ -69,7 +69,7 @@ public class TrackLightStatusMain {
env.enableCheckpointing(2 * 60 * 1000);
env.getCheckpointConfig().setTolerableCheckpointFailureNumber(3);
env.getCheckpointConfig().setCheckpointTimeout(10 * 60 * 1000);
env.getCheckpointConfig().setMaxConcurrentCheckpoints(10);
// env.getCheckpointConfig().setMaxConcurrentCheckpoints(10);
env.getCheckpointConfig().setCheckpointStorage(new FileSystemCheckpointStorage(properties.getProperty("check.point.uri")));
env.getCheckpointConfig().setExternalizedCheckpointCleanup(CheckpointConfig.ExternalizedCheckpointCleanup.DELETE_ON_CANCELLATION);
//============================================================================================//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment