diff options
| author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-07-22 23:03:01 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-07-23 16:57:14 -0700 |
| commit | f9bbefc701e319983bb8e13df8d615293c6f386a (patch) | |
| tree | 49257515ef3eac8c0caefb29a4c7c403f347e068 /contrib/examples/git-svnimport.perl | |
| parent | builtin-commit: Two trivial style-cleanups (diff) | |
| download | git-f9bbefc701e319983bb8e13df8d615293c6f386a.tar.gz git-f9bbefc701e319983bb8e13df8d615293c6f386a.zip | |
git daemon: avoid waking up too often
To avoid waking up unnecessarily, a pipe is set up that is only ever
written to by child_handler(), when a child disconnects, as suggested
per Junio.
This avoids waking up the main process every second to see if a child
was disconnected.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions
