Commit 91c0c92e authored by Renato Figueiro Maia's avatar Renato Figueiro Maia
Browse files

Correção para evitar demora no 'shutdown'.

parent 4121b746
......@@ -288,7 +288,9 @@ function, logger, client, driver)
self.down = true
copas.sleep(0) -- yields so Xavante can reply the HTTP request.
-- Otherwise the 'shutdown' below will terminate
-- the HTTP connection before the reply.
self.logger:info("Shutting down Xavante...")
copas.sleep(0) -- to force a new COPAS 'step', so Xavante can
Supports Markdown
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