Explorar o código

didnt mean to change the mutex

Chris Bannister %!s(int64=10) %!d(string=hai) anos
pai
achega
39654ebf71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 }