diff options
author | Eric Wong <e@80x24.org> | 2019-06-28 18:58:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-29 19:59:00 +0000 |
commit | 21a539a2df0cbbc929aecec88f9fd6879e20f466 (patch) | |
tree | f4e2e5306edcd4f5fa000709210f61a8d04eaed5 /lib/PublicInbox/HTTP.pm | |
parent | 945ef964037cbac81bf8fdea269037098da094f9 (diff) | |
download | public-inbox-21a539a2df0cbbc929aecec88f9fd6879e20f466.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox/HTTP.pm')
-rw-r--r-- | lib/PublicInbox/HTTP.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm index 680be72b..5546ac46 100644 --- a/lib/PublicInbox/HTTP.pm +++ b/lib/PublicInbox/HTTP.pm @@ -467,11 +467,4 @@ sub busy () { ($self->{rbuf} || $self->{env} || $self->{wbuf}); } -# fires after pending writes are complete: -sub restart_pass ($) { - $_[0]->{forward}->restart_read; # see PublicInbox::HTTPD::Async -} - -sub enqueue_restart_pass ($) { $_[0]->write(\&restart_pass) } - 1; |