http-client: Don't drop failed query when reconnecting.

Reported by Christopher Baines <mail@cbaines.net>.

* guix/http-client.scm (http-multiple-get): Change 2nd argument to
'drop' to PROCESSED when (false-if-networking-error ...) returns #f.
This commit is contained in:
Ludovic Courtès 2021-03-28 22:04:01 +02:00
parent 58452d08ff
commit 673e5276f6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -250,7 +250,7 @@ (define batch
(#f
(close-port p)
(connect #f ; try again
(drop requests (+ 1 processed))
(drop requests processed)
result)))))))))