aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-02-01 13:32:38 +0000
committerChristopher Baines <mail@cbaines.net>2023-02-01 13:32:38 +0000
commit4f838f910183dcce9b30d264bb512d01e79d6d17 (patch)
treef18521e21df6927494ae513dab27c50e44de3d85 /scripts
parente3c03d00bef37c59ea6c6fb7da91d12df374eb6f (diff)
downloadnar-herder-4f838f910183dcce9b30d264bb512d01e79d6d17.tar
nar-herder-4f838f910183dcce9b30d264bb512d01e79d6d17.tar.gz
Make sure to use suspendable ports
This will allow setting timeouts for network activity.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 346279a..e62f60f 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -39,6 +39,7 @@
(ice-9 ftw)
(ice-9 match)
(ice-9 format)
+ (ice-9 suspendable-ports)
(web uri)
(web client)
(web response)
@@ -63,6 +64,8 @@
(nar-herder mirror)
(nar-herder server))
+(install-suspendable-ports!)
+
(define %valid-log-levels
'(DEBUG INFO WARN ERROR))