From cd27bd3b6519a41d9abe54aa1be12cd1557d81e7 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Wed, 22 Mar 2017 10:27:07 -0500 Subject: [PATCH] restore previous openhpc patch that defaults to a sleeptime of 0 for wwgetfiles. The logic already exists to override this value via setting a WWGETFILES_INTERVAL environment variable. This variable is set to a value of 180 in the crontab entries to sync WW files, but this patch allows interactive users to obtain immediate, deterministic response. --- provision/initramfs/capabilities/transport-http/wwgetfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision/initramfs/capabilities/transport-http/wwgetfiles b/provision/initramfs/capabilities/transport-http/wwgetfiles index d5e0dedc..9d3996a1 100644 --- a/provision/initramfs/capabilities/transport-http/wwgetfiles +++ b/provision/initramfs/capabilities/transport-http/wwgetfiles @@ -29,7 +29,7 @@ else exit fi -WWGETFILES_INTERVAL=${WWGETFILES_INTERVAL:-180} +WWGETFILES_INTERVAL=${WWGETFILES_INTERVAL:-0} if [ -n "$WWGETFILES_INTERVAL" -a $WWGETFILES_INTERVAL -gt 0 ];then if [ -n "$RANDOM" -a ! -f "/init" ]; then