]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
lei: increase umask timeout
authorEric Wong <e@80x24.org>
Fri, 30 Aug 2024 19:05:15 +0000 (19:05 +0000)
committerEric Wong <e@80x24.org>
Sat, 31 Aug 2024 01:10:13 +0000 (01:10 +0000)
commitc5a4fb72c3b97b57a19c69fe42bca3deb6678f6f
treefe84730229053f9b254decfa5c72302bbbe8dd4b
parent5b5a8f6bb0aca6fecd218bf08c4af712c46698b1
lei: increase umask timeout

On slow or overloaded systems, 2 seconds may not be sufficient
time to wait for a lei client to respond to the umask request
from lei-daemon.  Use 60s to be consistent with the FD transfer
in the general case.

While we're at it, consistently use poll_in() now that it exists
since it's a better API than vec() + select() and will give
consistent performance regardless of the FD value.
lib/PublicInbox/LEI.pm