[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Mathieu Othacehe |
Date: |
Sat, 22 May 2021 08:08:58 -0400 (EDT) |
branch: master
commit 47bbb4b3ff88f4b313b02cbcfcae350f5d9aace1
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu May 20 09:28:51 2021 +0200
remote: Set the publish negative TTL to zero.
* src/cuirass/remote.scm (publish-server): Set the publish negative TTL to
zero.
---
src/cuirass/remote.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/cuirass/remote.scm b/src/cuirass/remote.scm
index 9386612..b5b2ac6 100644
--- a/src/cuirass/remote.scm
+++ b/src/cuirass/remote.scm
@@ -248,7 +248,9 @@ PRIVATE-KEY to sign narinfos."
(sockaddr:addr address)
port))
(socket (open-server-socket socket-address)))
- (run-publish-server socket store))))))
+ ;; Do not cache missing store items on workers.
+ (run-publish-server socket store
+ #:narinfo-negative-ttl 0))))))
(pid pid)))