afex/hystrix-go

A little confusion of Lock

Reese1995 opened this issue · 0 comments

m.Mutex.RLock()

My question is : why lock here?
From my point of view, there is only one goroutine that executes this block of code. Also, the element in channel won't be changed once pushed to channel.