Only send AgentOnline to the client if the friendsOnline list has elements. Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.

bulletsim
Diva Canto 2011-06-11 17:22:35 -07:00
parent d992779397
commit e1ca77a0db
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
List<UUID> friendsOnline = uConn.StatusNotification(ids, userID, online);
Thread.Sleep(100);
// need to debug this here
if (online)
if (online && friendsOnline.Count > 0)
{
IClientAPI client = LocateClientObject(userID);
if (client != null)

View File

@ -436,7 +436,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 4000);
response = request.Send(m_ServerURL, 6000);
}
catch (Exception e)
{