fix raft http duration API change