[Swift-commit] cog r3635

swift at ci.uchicago.edu swift at ci.uchicago.edu
Sun Mar 10 00:05:03 CST 2013


------------------------------------------------------------------------
r3635 | hategan | 2013-03-10 00:02:22 -0600 (Sun, 10 Mar 2013) | 1 line

aah
------------------------------------------------------------------------
Index: modules/karajan/src/org/globus/cog/karajan/workflow/service/channels/AbstractKarajanChannel.java
===================================================================
--- modules/karajan/src/org/globus/cog/karajan/workflow/service/channels/AbstractKarajanChannel.java	(revision 3634)
+++ modules/karajan/src/org/globus/cog/karajan/workflow/service/channels/AbstractKarajanChannel.java	(working copy)
@@ -129,6 +129,8 @@
 		long lastTime = getLastTime();
 		if (now - lastTime > TIMEOUT * 1000) {
 		    TimeoutException e = new TimeoutException(this, "Channel timed out", lastTime);
+		    // prevent further timeouts
+		    lastTime = Long.MAX_VALUE;
 			context.notifyRegisteredCommandsAndHandlers(e);
 			handleChannelException(e);
 			timeoutCheckTask.cancel();



More information about the Swift-commit mailing list