mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-11-01 20:02:46 +08:00
Created 'constants' package for const.go file and 'types' package for shared and exported types
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/echovault/echovault/pkg/utils"
|
||||
"github.com/echovault/echovault/pkg/constants"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ func DefaultConfig() Config {
|
||||
RestoreSnapshot: false,
|
||||
AOFSyncStrategy: "everysec",
|
||||
MaxMemory: 0,
|
||||
EvictionPolicy: utils.NoEviction,
|
||||
EvictionPolicy: constants.NoEviction,
|
||||
EvictionSample: 20,
|
||||
EvictionInterval: 100 * time.Millisecond,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user