diff options
author | McCabe Maxsted | 2010-07-24 13:50:05 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-07-24 13:50:05 -0700 |
commit | 521f7558d4fbdb3e3c7327a984c984d892f8f056 (patch) | |
tree | fd15f607be0d912681c3c0e9b6c9b9a5776f2786 /linden/indra/newview/llstartup.cpp | |
parent | different approach to delete broken images ( components > 4 ) (diff) | |
download | meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.zip meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.gz meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.bz2 meta-impy-521f7558d4fbdb3e3c7327a984c984d892f8f056.tar.xz |
Changed the connecting to region timer to 45 seconds and made it a debug setting: ConnectingToRegionTimeout
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 3161980..cec2c4b 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -328,6 +328,7 @@ bool idle_startup() | |||
328 | LLMemType mt1(LLMemType::MTYPE_STARTUP); | 328 | LLMemType mt1(LLMemType::MTYPE_STARTUP); |
329 | 329 | ||
330 | const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay"); | 330 | const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay"); |
331 | const F32 CONNECTING_REGION_TIMEOUT_SECONDS = gSavedSettings.getF32("ConnectingToRegionTimeout"); | ||
331 | const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC | 332 | const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC |
332 | const S32 MAX_TIMEOUT_COUNT = 3; | 333 | const S32 MAX_TIMEOUT_COUNT = 3; |
333 | static LLTimer timeout; | 334 | static LLTimer timeout; |
@@ -2105,7 +2106,7 @@ bool idle_startup() | |||
2105 | 2106 | ||
2106 | // Drop out if we can't connect -- MC | 2107 | // Drop out if we can't connect -- MC |
2107 | connecting_region_timer.start(); | 2108 | connecting_region_timer.start(); |
2108 | connecting_region_timer.setTimerExpirySec(10.0f); | 2109 | connecting_region_timer.setTimerExpirySec(CONNECTING_REGION_TIMEOUT_SECONDS); |
2109 | LLStartUp::setStartupState( STATE_AGENT_WAIT ); // Go to STATE_AGENT_WAIT | 2110 | LLStartUp::setStartupState( STATE_AGENT_WAIT ); // Go to STATE_AGENT_WAIT |
2110 | 2111 | ||
2111 | timeout.reset(); | 2112 | timeout.reset(); |