4
0
Эх сурвалжийг харах

Start pause timer at initialization so first gather doesn't result in pause
timeout operations.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2555 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 жил өмнө
parent
commit
72fe262478
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      exec/totemsrp.c

+ 1 - 1
exec/totemsrp.c

@@ -877,7 +877,7 @@ int totemsrp_initialize (
 	instance->totemsrp_confchg_fn = confchg_fn;
 	instance->use_heartbeat = 1;
 
-	instance->pause_timestamp = timerlist_nano_current_get ();
+	timer_function_pause_timeout (instance);
 
 	if ( totem_config->heartbeat_failures_allowed == 0 ) {
 		log_printf (instance->totemsrp_log_level_debug,