git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Auto-gc in the background can take a long time to be put in the background

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 26, 2019, 13:43 UTC
Message-ID
<nycvar.QRO.7.76.6.1903261443140.41@tvgsbejvaqbjf.bet>
In-Reply-To
<20190325232223.r72qtffyzn5qzoxc@glandium.org>
Hi Mike,
On Tue, 26 Mar 2019, Mike Hommey wrote:
Show 8 quoted lines
> Recently, I've noticed that whenever the auto-gc message shows up about
> being spawned in the background, it still takes a while for git to
> return to the shell.
>
> I've finally looked at what it was stuck on, and it's
> `git reflog expire --all` taking more than 30s. I guess the question is
> whether there's a reason this shouldn't run in the background? Another
> is whether there's something that makes this slower than it should be.

Thanks for tracking this down. I hit this problem yesterday and was too busy with other things to dig into it.

Thank you! Dscho

Previous: Jeff King
Message 5 of 5 in “Auto-gc in the background can take a long time to be put in the background”
  1. Mike HommeyMar 25, 2019
  2. Jeff KingMar 25, 2019
  3. Ævar Arnfjörð BjarmasonMar 26, 2019
  4. Jeff KingMar 26, 2019
  5. Johannes SchindelinMar 26, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.