浏览代码

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
 }