Timeout in TCPPING FIND_INITIAL_MBRS is wrong
---------------------------------------------

         Key: JGRP-10
         URL: http://jira.jboss.com/jira/browse/JGRP-10
     Project: JGroups
        Type: Bug
    Versions: 2.2.8    
 Environment: Linux
    Reporter: Zac Hansen
 Assigned to: Bela Ban 
    Priority: Minor


This is actually a problem in 2.2.7 -- the latest release available from the 
sourceforge site.

in TCPPING.java line 227 (I
>can't really cut and paste from this setup), what you probably want is
>something like:
>
>time_to_wait = timeout - ( System.getCurrentTimeMillis() - start_time ).
>
>What you currently have may well not wait the full time specified.  If
>two results come in at the half-way mark, that will get time_to_wait
>to 0 and it will exit (I think).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to