Преглед изворни кода

didnt mean to change the mutex

Chris Bannister пре 10 година
родитељ
комит
39654ebf71
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 }