浏览代码

ping behaviour change

Paul Klumpp 12 年之前
父节点
当前提交
e8424ef0bd
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      cims_interconnect.tcl

+ 3 - 2
cims_interconnect.tcl

@@ -23,6 +23,7 @@ namespace eval ::cims::interconnect {
 	variable layout
 	variable layout
 	variable sshcommand {ssh}
 	variable sshcommand {ssh}
 	variable host {stomp@b4r.org}
 	variable host {stomp@b4r.org}
+	#set host "paul@localhost"
 	variable mnet_interconnect_version "ic!0.1"
 	variable mnet_interconnect_version "ic!0.1"
 
 
 
 
@@ -396,11 +397,11 @@ proc ::cims::interconnect::pingloop {} {
 	}
 	}
 
 
 	if {$matched == 0 && $pipe != ""} { 
 	if {$matched == 0 && $pipe != ""} { 
-		utimer 120 "::cims::interconnect::pingloop" 
+		utimer 90 "::cims::interconnect::pingloop" 
 	}
 	}
 
 
 	# start a ping
 	# start a ping
-	::cims::interconnect::ping
+	utimer 2 "::cims::interconnect::ping"
 }
 }
 
 
 # this proc is a plugin proc for cims. it only gets executed if it exists.
 # this proc is a plugin proc for cims. it only gets executed if it exists.