Parcourir la source

defect 669
token retransmits dont work under heavy load.


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

Steven Dake il y a 20 ans
Parent
commit
68ae4e8b3c
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      exec/totemsrp.c

+ 3 - 1
exec/totemsrp.c

@@ -3577,7 +3577,9 @@ if (random()%100 < 50) {
 	return (0);
 	return (0);
 }
 }
 #endif
 #endif
-	cancel_token_retransmit_timeout (); // REVIEWED
+	if (system_from->sin_addr.s_addr != my_id.sin_addr.s_addr) {
+		cancel_token_retransmit_timeout ();
+	}
 
 
 	/*
 	/*
 	 * If the message is foreign execute the switch below
 	 * If the message is foreign execute the switch below