unify httpc usage

This commit is contained in:
moicen
2022-06-27 03:56:15 +08:00
parent 27e928f610
commit f71d0c9e27
8 changed files with 23 additions and 29 deletions
-2
View File
@@ -41,8 +41,6 @@ local function create_task()
}
)
httpc:close()
if res == nil then
ngx.log(ngx.ERR, "FAILED TO CONNECT TO *TASK_SERVER*", err)
end