"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd: use less temp files
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 27 May 2024 12:19:00 +0200

Download raw body.

Thread
On Mon, May 27, 2024 at 12:11:12PM +0200, Omar Polo wrote:
> On 2024/05/27 11:20:37 +0200, Stefan Sperling <stsp@stsp.name> wrote:
> > I do recall bugs when gotwebd had cached repositories were some requests
> > were returning spurious errors after some unexpected file descriptor
> > behaviour, usually unexpected EOF.
> > This hasn't happened again ever since the repository cache was removed.
> > There was likewise only one set of temp fds associated with a repo which
> > was used to serve multiple requests.
> > Is this diff not recreating this problem?
> 
> No.  The problem with the cache was that we kept some repos opened while
> processing other stuff.  Now we just keep one repo alive at a time, and
> this diff isn't changing it.

Alright, that is reassuring. Then let's try the diff!