mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-23 08:49:26 +08:00
support watch command
This commit is contained in:
@@ -7,8 +7,9 @@ import (
|
||||
|
||||
func makeTestDB() *DB {
|
||||
return &DB{
|
||||
data: dict.MakeConcurrent(1),
|
||||
ttlMap: dict.MakeConcurrent(ttlDictSize),
|
||||
locker: lock.Make(lockerSize),
|
||||
data: dict.MakeConcurrent(dataDictSize),
|
||||
versionMap: dict.MakeConcurrent(dataDictSize),
|
||||
ttlMap: dict.MakeConcurrent(ttlDictSize),
|
||||
locker: lock.Make(lockerSize),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user