Increased the timeout on AgentUpdate to 30 sec and improved error message to try to catch some weirdnesses going on in HG TPs (and maybe non-HG TPs too).
parent
a5044e08fb
commit
f219e320bc
|
@ -257,7 +257,7 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||||
HttpWebRequest ChildUpdateRequest = (HttpWebRequest)WebRequest.Create(uri);
|
HttpWebRequest ChildUpdateRequest = (HttpWebRequest)WebRequest.Create(uri);
|
||||||
ChildUpdateRequest.Method = "PUT";
|
ChildUpdateRequest.Method = "PUT";
|
||||||
ChildUpdateRequest.ContentType = "application/json";
|
ChildUpdateRequest.ContentType = "application/json";
|
||||||
ChildUpdateRequest.Timeout = 10000;
|
ChildUpdateRequest.Timeout = 30000;
|
||||||
//ChildUpdateRequest.KeepAlive = false;
|
//ChildUpdateRequest.KeepAlive = false;
|
||||||
|
|
||||||
// Fill it in
|
// Fill it in
|
||||||
|
@ -334,7 +334,7 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||||
}
|
}
|
||||||
catch (WebException ex)
|
catch (WebException ex)
|
||||||
{
|
{
|
||||||
m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ChilAgentUpdate {0}", ex.Message);
|
m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ChilAgentUpdate from {0}: {1}", uri, ex.Message);
|
||||||
// ignore, really
|
// ignore, really
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|
Loading…
Reference in New Issue