diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 03:43:30 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 09:07:59 +0000 |
commit | 76ecc4b349fd0c41ac9fdabaf501d33cd2049da1 (patch) | |
tree | 44612792ba594b55ce35219fc7d912ffb111d14d /lib | |
parent | faf36e5b451bd5dba0b1ae867f606ba0cb397af3 (diff) | |
download | public-inbox-76ecc4b349fd0c41ac9fdabaf501d33cd2049da1.tar.gz |
This was creating an unnecessary epoll descriptor via Danga::Socket when using V2Writable to import a mbox. That said, there should probably be better way of detecting whether or not we're inside a Danga::Socket event loop. Fixes: 427245acacaf04a8 ("evcleanup: ensure deferred close from timers are handled ASAP")
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/EvCleanup.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/EvCleanup.pm b/lib/PublicInbox/EvCleanup.pm index 8ed5180b..384efd3d 100644 --- a/lib/PublicInbox/EvCleanup.pm +++ b/lib/PublicInbox/EvCleanup.pm @@ -79,8 +79,8 @@ sub later ($) { END { _run_asap(); - _run_next(); - _run_later(); + _run_all($nextq); + _run_all($laterq); } 1; |