|
@@ -576,7 +576,7 @@ func lockPNCBMap(thisinfo *Info) {
|
|
|
if ok {
|
|
|
break
|
|
|
} else {
|
|
|
- log.Println("has lock")
|
|
|
+ //log.Println("has key store")
|
|
|
time.Sleep(100 * time.Millisecond)
|
|
|
}
|
|
|
}
|
|
@@ -584,8 +584,8 @@ func lockPNCBMap(thisinfo *Info) {
|
|
|
|
|
|
//pncbMap解锁
|
|
|
func unlockPNCBMap(thisinfo *Info) {
|
|
|
+ //log.Println("del key store", thisinfo.PNKey)
|
|
|
//if len(thisinfo.PNKey) > 3 {
|
|
|
- log.Println("del lock", thisinfo.PNKey)
|
|
|
PNKeyMap.Delete(thisinfo.PNKey)
|
|
|
//}
|
|
|
//if len(thisinfo.PCKey) > 3 {
|