[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45323] [PATCH] substitute: Reuse connections for '--query'.
From: |
Christopher Baines |
Subject: |
[bug#45323] [PATCH] substitute: Reuse connections for '--query'. |
Date: |
Wed, 30 Dec 2020 22:55:56 +0000 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Ludovic Courtès <ludo@gnu.org> writes:
> Hi!
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> The Guix Build Coordinator uses code from this script, and I'm sometimes
>> seeing exceptions like [1] when running with these changes. This is when
>> calling lookup-narinfos.
>>
>> 1:
>> #<&compound-exception components: (#<&error> #<&irritants irritants:
>> (#<gnutls-error-enum The specified session has been invalidated for some
>> reason.> write_to_session_record_port)> #<&exception-with-kind-and-args
>> kind: gnutls-error args: (#<gnutls-error-enum The specified session hasbeen
>> invalidated for some reason.> write_to_session_record_port)>)>,
>>
>> When this happens, things seem to get stuck and retrying calling
>> lookup-narinfos leads to the same exception. I'm guessing this might be
>> happening because the broken connection is being cached and reused.
>
> Ah, that looks like another thing that might break. Does the patch
> below help?
I've tried using it, and I haven't spotted any problems yet, so I
believe so.
Thanks,
Chris
signature.asc
Description: PGP signature