You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2012/08/21 17:14:12 UTC

svn commit: r1375599 - in /vcl: branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm trunk/managementnode/lib/VCL/reserved.pm

Author: arkurth
Date: Tue Aug 21 15:14:11 2012
New Revision: 1375599

URL: http://svn.apache.org/viewvc?rev=1375599&view=rev
Log:
VCL-442
Fixed problem with changed delay when checking if the user clicked connect.  Timeout was shortened.

Modified:
    vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm
    vcl/trunk/managementnode/lib/VCL/reserved.pm

Modified: vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm
URL: http://svn.apache.org/viewvc/vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm?rev=1375599&r1=1375598&r2=1375599&view=diff
==============================================================================
--- vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm (original)
+++ vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/reserved.pm Tue Aug 21 15:14:11 2012
@@ -246,13 +246,12 @@ sub process {
 		
 	}    # close if defined remoteIP
 
-	elsif ($acknowledge_attempts < 180) {
+	elsif ($acknowledge_attempts < 900) {
 		# User has approximately 15 minutes to acknowledge (5 seconds * 180 attempts)
 
-		# Print a status message every tenth attempt
-		if (($acknowledge_attempts % 10) == 0) {
+		if (($acknowledge_attempts % 30) == 0) {
 			# Print message every tenth attempt
-			notify($ERRORS{'OK'}, 0, "attempt $acknowledge_attempts of 180, user has not acknowleged");
+			notify($ERRORS{'OK'}, 0, "attempt $acknowledge_attempts/900, user has not acknowleged");
 		}
 
 		sleep 1;

Modified: vcl/trunk/managementnode/lib/VCL/reserved.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/reserved.pm?rev=1375599&r1=1375598&r2=1375599&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/reserved.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/reserved.pm Tue Aug 21 15:14:11 2012
@@ -246,13 +246,12 @@ sub process {
 		
 	}    # close if defined remoteIP
 
-	elsif ($acknowledge_attempts < 180) {
+	elsif ($acknowledge_attempts < 900) {
 		# User has approximately 15 minutes to acknowledge (5 seconds * 180 attempts)
 
-		# Print a status message every tenth attempt
-		if (($acknowledge_attempts % 10) == 0) {
+		if (($acknowledge_attempts % 30) == 0) {
 			# Print message every tenth attempt
-			notify($ERRORS{'OK'}, 0, "attempt $acknowledge_attempts of 180, user has not acknowleged");
+			notify($ERRORS{'OK'}, 0, "attempt $acknowledge_attempts/900, user has not acknowleged");
 		}
 
 		sleep 1;