From 2b438af0973c74d5cdea4fe548702e26e9fa520a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 23 Nov 2009 19:04:31 +0000 Subject: [PATCH] -Change blind retry back to normal retry interval. This slows down the case where close session succeeds but reply is dropped, but is more resistant to a scenario where a significant network outage actually prevents logout. When the actual logout is prevented, the bad state is transient, but can persist for about a minute, so work to avoid it git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index efaf12f20..f0a5cf9bb 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -5637,7 +5637,7 @@ sub closesession() @message ); - ($error,@response) = domsg($sock,\@msg,1,1); #Have a quicker retry on the close session + ($error,@response) = domsg($sock,\@msg,$timeout,1); #Have a quicker retry on the close session if(!$error) { $code = $response[36-$authoffset];