Commit ba095504 authored by Your Name's avatar Your Name

http sync return task-id

parent 4cc6722a
...@@ -765,9 +765,9 @@ func ApiAndJWT(c *fiber.Ctx) error { ...@@ -765,9 +765,9 @@ func ApiAndJWT(c *fiber.Ctx) error {
if asyncMode { if asyncMode {
//time.Sleep(10 * time.Second) //time.Sleep(10 * time.Second)
m := make([]byte, 1024*1024+1024*512) //m := make([]byte, 1024*1024+1024*512)
return c.Send(m) //return c.Send(m)
//return c.SendString(pbMsg.TaskId) return c.SendString(pbMsg.TaskId)
} else { } else {
return syncModeF(c, pbMsg.TaskId) return syncModeF(c, pbMsg.TaskId)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment