This commit is contained in:
moicen
2021-09-12 11:49:55 +08:00
parent ad1fe7695e
commit f7cf4d6bcc
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ while true do
local http = require "resty.http"
local httpc = http.new()
local remote_url = string.format("%s/api/v1/ts/create_task", task_server)
ngx.log(ngx.ERR, 'remote_url -> ', remote_url)
ngx.log(ngx.INFO, 'remote_url -> ', remote_url)
local res, err = httpc:request_uri(
remote_url,
{
+2
View File
@@ -1,2 +1,4 @@
ngx.log(ngx.INFO, "test -> ", "info")
ngx.say('file dir...', ngx.var.tmp_file_dir)
ngx.say('task server...', ngx.var.task_server)