Software /
code /
prosody
Comparison
net/server_epoll.lua @ 7587:ff81a34bffb0
net.server_epoll: Comment some overly verbose logging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Aug 2016 16:02:20 +0200 |
parent | 7586:846fdbbc62ba |
child | 7588:fd6ca110edce |
comparison
equal
deleted
inserted
replaced
7586:846fdbbc62ba | 7587:ff81a34bffb0 |
---|---|
247 op = "del"; | 247 op = "del"; |
248 elseif not currentflags then | 248 elseif not currentflags then |
249 op = "add"; | 249 op = "add"; |
250 end | 250 end |
251 local ok, err = epoll.ctl(op, fd, flags); | 251 local ok, err = epoll.ctl(op, fd, flags); |
252 log("debug", "epoll_ctl(%q, %d, %q) -> %s" .. (err and ", %q" or ""), | 252 -- log("debug", "epoll_ctl(%q, %d, %q) -> %s" .. (err and ", %q" or ""), |
253 op, fd, flags or "", tostring(ok), err); | 253 -- op, fd, flags or "", tostring(ok), err); |
254 if not ok then return ok, err end | 254 if not ok then return ok, err end |
255 self._flags = flags; | 255 self._flags = flags; |
256 return true; | 256 return true; |
257 end | 257 end |
258 | 258 |