Skip to content

Commit 1f0a51e

Browse files
committed
fix(chat): agent mu
1 parent ed7f9a1 commit 1f0a51e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chat/agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func logev(ctx *zero.Ctx) {
220220
if countParamsLength(req.Params) > 256 { // skip too long req&resp
221221
return
222222
}
223-
if !inActionMu.TryLock() {
223+
if inActionMu.TryLock() {
224224
defer inActionMu.Unlock()
225225
} else {
226226
return
@@ -248,7 +248,7 @@ func logev(ctx *zero.Ctx) {
248248
})
249249
}),
250250
)
251-
if !inActionMu.TryLock() {
251+
if inActionMu.TryLock() {
252252
defer inActionMu.Unlock()
253253
} else {
254254
return

0 commit comments

Comments
 (0)