Ver Fonte

didnt mean to change the mutex

Chris Bannister há 10 anos atrás
pai
commit
39654ebf71
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      cluster.go

+ 1 - 1
cluster.go

@@ -16,7 +16,7 @@ const defaultMaxPreparedStmts = 1000
 
 //preparedLRU is the prepared statement cache
 type preparedLRU struct {
-	sync.RWMutex
+	sync.Mutex
 	lru *lru.Cache
 }