Explorar o código

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 %!s(int64=20) %!d(string=hai) anos
pai
achega
68ae4e8b3c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      exec/totemsrp.c

+ 3 - 1
exec/totemsrp.c

@@ -3577,7 +3577,9 @@ if (random()%100 < 50) {
 	return (0);
 }
 #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