We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed7f9a1 commit 1f0a51eCopy full SHA for 1f0a51e
1 file changed
chat/agent.go
@@ -220,7 +220,7 @@ func logev(ctx *zero.Ctx) {
220
if countParamsLength(req.Params) > 256 { // skip too long req&resp
221
return
222
}
223
- if !inActionMu.TryLock() {
+ if inActionMu.TryLock() {
224
defer inActionMu.Unlock()
225
} else {
226
@@ -248,7 +248,7 @@ func logev(ctx *zero.Ctx) {
248
})
249
}),
250
)
251
252
253
254
0 commit comments