]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: reinstate D::S timer usage for cleanup
authorEric Wong <e@80x24.org>
Sat, 9 Jul 2016 04:51:37 +0000 (04:51 +0000)
committerEric Wong <e@80x24.org>
Sat, 9 Jul 2016 04:52:13 +0000 (04:52 +0000)
commit63d2e98ce28ddfefeac8bfdac409eae5efc03a9f
tree4dec15e825511818f21262f3174f0fcb6b0cae55
parentacd3a41f52167b8e41cf34ab8164a9dfb5ef9c5c
httpd/async: reinstate D::S timer usage for cleanup

EvCleanup::asap events are not guaranteed to run after
Danga::Socket closes sockets at the event loop.  Thus we
must use slower Danga::Socket timers which are guaranteed
to run at the end of the event loop.
lib/PublicInbox/EvCleanup.pm
lib/PublicInbox/HTTPD/Async.pm