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/DS.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/DS.pm')
-rw-r--r-- | lib/PublicInbox/DS.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index b2f59983..a8236023 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -571,12 +571,6 @@ sub epwait ($$) { 0; } -sub watch ($$) { - my ($self, $ev) = @_; - my $sock = $self->{sock} or return; - epwait($sock, $ev); -} - # return true if complete, false if incomplete (or failure) sub accept_tls_step ($) { my ($self) = @_; |