summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_dg.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/clnt_dg.c')
-rw-r--r--lib/libc/rpc/clnt_dg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c
index 761cc65..27296ab 100644
--- a/lib/libc/rpc/clnt_dg.c
+++ b/lib/libc/rpc/clnt_dg.c
@@ -63,7 +63,14 @@ __FBSDID("$FreeBSD$");
#include "mt_misc.h"
+#ifdef _FREEFALL_CONFIG
+/*
+ * Disable RPC exponential back-off for FreeBSD.org systems.
+ */
+#define RPC_MAX_BACKOFF 1 /* second */
+#else
#define RPC_MAX_BACKOFF 30 /* seconds */
+#endif
static struct clnt_ops *clnt_dg_ops(void);
OpenPOWER on IntegriCloud