Make offline IM delivery to URL (pre recent Addons code) have a 10 second rather than infinite timeout.

This both signals a problem with the URL and eventually frees the thread, rather than hanging indefinitely with no information.
bullet-2.82
Justin Clark-Casey (justincc) 2014-05-12 23:42:47 +01:00
parent 87e2668529
commit 8ad29fc5c8
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
}
bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>(
"POST", m_RestURL+"/SaveMessage/", im);
"POST", m_RestURL+"/SaveMessage/", im, 10000);
if (im.dialog == (byte)InstantMessageDialog.MessageFromAgent)
{