aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-09 22:27:59 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-28 10:23:22 +0100
commit46a7f24c84299bb1ad63de725f67d1df5dffc2dc (patch)
tree94d8cfc8acf1f0fde046bd81be8dc35c8c5f3def /hurd
parente5b8756dc2355c315247b710da8d50d48b7a9728 (diff)
downloadglibc-46a7f24c84299bb1ad63de725f67d1df5dffc2dc.zip
glibc-46a7f24c84299bb1ad63de725f67d1df5dffc2dc.tar.gz
glibc-46a7f24c84299bb1ad63de725f67d1df5dffc2dc.tar.bz2
hurd: set interrupt timeout to 1 minute
Seeing a server not able to get interrupted for 3s is not so surprising when e.g. a lot of writes are happening. 1 minute allows to actually notice the issue and be able to debug it. * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index aa82f63..48179b4 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -57,7 +57,7 @@ unsigned long int __hurd_sigthread_stack_end;
struct hurd_sigstate *_hurd_sigstates;
/* Timeout for RPC's after interrupt_operation. */
-mach_msg_timeout_t _hurd_interrupted_rpc_timeout = 3000;
+mach_msg_timeout_t _hurd_interrupted_rpc_timeout = 60000;
static void
default_sigaction (struct sigaction actions[NSIG])