]> Sergey Matveev's repositories - public-inbox.git/commit
lei: increase initial timeout
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:25 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:18 +0000 (11:38 +0000)
commitb436cf6e4794a32b3331a8727d10bf000ba55de2
treebd651e482efa01c07061d5d73d6d141f154e80ab
parent2e8256ba1ced49a686bf5ff1c97375f8ccb30d4a
lei: increase initial timeout

PublicInbox::Listener unconditionally sets O_NONBLOCK upon
accept(), so we need a larger timeout under heavy load since
there's no "dataready" accept filter on the listener.

With O_NONBLOCK already set, we don't have to set it at
->event_step_init
lib/PublicInbox/LEI.pm
script/lei