소스 검색

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
 }