mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
Use const instead of false to make avoid confusion
This commit is contained in:
parent
2f24fffc89
commit
f098438fd8
|
|
@ -78,7 +78,7 @@ func main() {
|
||||||
fmt.Println("Opening database")
|
fmt.Println("Opening database")
|
||||||
roomserverDB, err := storage.Open(
|
roomserverDB, err := storage.Open(
|
||||||
processCtx.Context(), cm, &dbOpts,
|
processCtx.Context(), cm, &dbOpts,
|
||||||
caching.NewRistrettoCache(8*1024*1024, time.Minute*5, false),
|
caching.NewRistrettoCache(8*1024*1024, time.Minute*5, caching.DisableMetrics),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue