* libs/httpd: Tuned Garbage Collection

This commit is contained in:
Steven Barth 2008-06-23 21:30:44 +00:00
parent 1e413b9251
commit df8f524940
2 changed files with 4 additions and 4 deletions

View file

@ -7,6 +7,7 @@ require("luci.httpd.handler.luci")
DOCROOT = arg[1]
PORT = 8080
collectgarbage("setpause", 150)
serversocket = luci.httpd.Socket("0.0.0.0", PORT)

View file

@ -118,10 +118,9 @@ function Daemon.step(self)
if self.debug then
self:dprint(tostring(client[1]) .. " returned")
end
if not stat and self.debug then
self:dprint("Error in " .. tostring(client[1]) .. " " .. err)
if not stat then
self:dprint("Error in " .. tostring(client[1]) .. " " .. err)
end
end
end
end