ok, err = sema:wait(SEMA_TIMEOUT)
if ok then
tc = 0
local res = usr_sem_set[4]
if res then
local ok, err = print(res)
if not ok then
log(ngx.ERROR, "PRINT ERR:"..err)
--return ngx.exit(444)
end
ngx.flush()
上面的大概就是最小用例了
在 2017年5月26日星期五 UTC+8下午7:13:59,Zexuan Luo写道:
ngx.push 貌似在不是 OpenResty 标准库里面的?
如果能提供最小化重现案例就更好了
在 2017年5月25日星期四 UTC+8上午10:17:51,周舟写道:
如题,请问有什么方法可以解决这个问题