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

Re: [PATCH 04/23] http-push: send out fetch requests on queue

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 5, 2009, 20:44 UTC
Message-ID
<m3r5xy5s1n.fsf@localhost.localdomain>
In-Reply-To
<20090606000137.ff05ba37.rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
> Previously, requests for remote files were simply added to the queue
> (pointed to by request_queue_head) and no transfer actually took
> place[1], even though code that followed may rely on these remote files
       ^^^
       ^^^--- you have footnote reference, but no footnote
Show 19 quoted lines
> to be present (eg. the setup_revisions invocation).
> 
> The code that sends out the requests on the request queue is refactored
> into the method run_request_queue.
> 
> After the get_dav_remote_heads invocation (ie. after fetch requests are
> added to the queue), the requests on the queue are sent out through an
> invocation to run_request_queue.
> 
> This invocation to run_request_queue entails adding a fill function
> before pushing checks take place, which may lead to accidental,
> unwanted pushes previously.
> 
> The flag is_running_queue is introduced to prevent this from occurring.
> fill_active_slot is made to check the flag is_running_queue before
> the sending of the requests proceeds.
> 
> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
> ---
[...]
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 2 of 3 in “http-push: send out fetch requests on queue”
  1. 04/23 http-push: send out fetch requests on queueTay Ray Chuan, Jun 5, 2009
  2. Jakub NarebskiJun 5, 2009
  3. Tay Ray ChuanJun 6, 2009

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.