mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix: socketchannel order mode may blocked. (used by redis driver)
This commit is contained in:
@@ -265,7 +265,7 @@ local function suspend(tid, name, qtype)
|
||||
co = coroutine.running(),
|
||||
}
|
||||
request_pool[tid] = req
|
||||
skynet.wait()
|
||||
skynet.wait(req.co)
|
||||
local answers = request_pool[tid].answers
|
||||
request_pool[tid] = nil
|
||||
assert(answers, "no ip")
|
||||
|
||||
Reference in New Issue
Block a user