瀏覽代碼

raft: update prune map duration

ghassmo 3 年之前
父節點
當前提交
dd35919118
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/raft/settings.rs

+ 1 - 1
src/raft/settings.rs

@@ -24,7 +24,7 @@ impl Default for RaftSettings {
             heartbeat_timeout: 500,
             heartbeat_timeout: 500,
             timeout: 6,
             timeout: 6,
             id_timeout: 12,
             id_timeout: 12,
-            prun_duration: 240,
+            prun_duration: 30,
             datastore_path: PathBuf::from(""),
             datastore_path: PathBuf::from(""),
         }
         }
     }
     }