]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: switch to buffering-as-fast-as-possible
authorEric Wong <e@80x24.org>
Fri, 28 Jun 2019 18:58:36 +0000 (18:58 +0000)
committerEric Wong <e@80x24.org>
Sat, 29 Jun 2019 19:59:00 +0000 (19:59 +0000)
commit21a539a2df0cbbc929aecec88f9fd6879e20f466
treef4e2e5306edcd4f5fa000709210f61a8d04eaed5
parent945ef964037cbac81bf8fdea269037098da094f9
httpd/async: switch to buffering-as-fast-as-possible

With DS buffering to a temporary file nowadays, applying
backpressure to git-http-backend(1) hurts overall memory
usage of the system.  Instead, try to get git-http-backend(1)
to finish as quickly as possible and use edge-triggered
notifications to reduce wakeups on our end.
lib/PublicInbox/DS.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/HTTPD/Async.pm