Просмотр исходного кода

r2555 | sdake | 2009-11-30 12:11:20 -0700 (Mon, 30 Nov 2009) | 3 lines

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



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2610 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 16 лет назад
Родитель
Сommit
daf1c26ee1
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->totemsrp_confchg_fn = confchg_fn;
 	instance->use_heartbeat = 1;
 	instance->use_heartbeat = 1;
 
 
-	instance->pause_timestamp = timerlist_nano_current_get ();
+	timer_function_pause_timeout (instance);
 
 
 	if ( totem_config->heartbeat_failures_allowed == 0 ) {
 	if ( totem_config->heartbeat_failures_allowed == 0 ) {
 		log_printf (instance->totemsrp_log_level_debug,
 		log_printf (instance->totemsrp_log_level_debug,