summary refs log tree commit diff
path: root/gnu/services/mail.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-27 17:21:16 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-29 21:56:27 +0200
commit4d047853da76dc5fa5dd50ecb750c861342ef47b (patch)
treecbb7ddfeff8bbe02265a4ee85528d26bff2737fb /gnu/services/mail.scm
parent1edb7c7eec88904afae49b6b399ff23bbb4d2a28 (diff)
downloadguix-4d047853da76dc5fa5dd50ecb750c861342ef47b.tar.gz
secret-service: Add a timeout when waiting for a client.
* gnu/build/secret-service.scm (secret-service-receive-secrets)
[wait-for-client]: Call 'select' with a 60s timeout before 'accept'.
Return #f upon timeout.
[read-secrets]: Return FILES on success.
Adjust caller of 'wait-for-client' to handle #f.
Diffstat (limited to 'gnu/services/mail.scm')
0 files changed, 0 insertions, 0 deletions