mirror of
				https://github.com/EchoVault/SugarDB.git
				synced 2025-10-31 19:32:59 +08:00 
			
		
		
		
	Implemented multiple server cert/key pairs. Implemented mTLS for verifying client using multiple pem files.
This commit is contained in:
		| @@ -39,7 +39,7 @@ func (r *Raft) RaftInit(ctx context.Context) { | ||||
| 	raftConfig := raft.DefaultConfig() | ||||
| 	raftConfig.LocalID = raft.ServerID(conf.ServerID) | ||||
| 	raftConfig.SnapshotThreshold = conf.SnapShotThreshold | ||||
| 	raftConfig.SnapshotInterval = time.Duration(conf.SnapshotInterval) * time.Second | ||||
| 	raftConfig.SnapshotInterval = conf.SnapshotInterval | ||||
|  | ||||
| 	var logStore raft.LogStore | ||||
| 	var stableStore raft.StableStore | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kelvin Clement Mwinuka
					Kelvin Clement Mwinuka