remove wal_light setting

Closes #1428
This commit is contained in:
Anton Kaliaev
2018-04-09 16:32:43 +02:00
parent 384b3ea065
commit e88f74bb9b
8 changed files with 11 additions and 24 deletions

View File

@ -293,7 +293,7 @@ func (cs *ConsensusState) Wait() {
// OpenWAL opens a file to log all consensus messages and timeouts for deterministic accountability
func (cs *ConsensusState) OpenWAL(walFile string) (WAL, error) {
wal, err := NewWAL(walFile, cs.config.WalLight)
wal, err := NewWAL(walFile)
if err != nil {
cs.Logger.Error("Failed to open WAL for consensus state", "wal", walFile, "err", err)
return nil, err