On second thought, there's no reason to disconnect until region isn't alive

So let's not do that anymore, making us resilient against a grid that has
HTTP problems.

Thanks for the help, Aru!
This commit is contained in:
Lirusaito
2019-02-24 09:08:08 -05:00
parent d096c043f0
commit 5578849508

View File

@@ -227,6 +227,7 @@ namespace
// They are essentially disconnected from the region even though some things may still work.
// Since things won't get better until they relog we force a disconnect now.
/* Singu Note: There's no reason to disconnect, just because this failed a few too many times
// *NOTE:Mani - The following condition check to see if this failing event poll
// is attached to the Agent's main region. If so we disconnect the viewer.
// Else... its a child region and we just leave the dead event poll stopped and
@@ -236,6 +237,7 @@ namespace
LL_WARNS() << "Forcing disconnect due to stalled main region event poll." << LL_ENDL;
LLAppViewer::instance()->forceDisconnect(LLTrans::getString("AgentLostConnection"));
}
*/
}
}