diff options
author | Rider Linden <rider@lindenlab.com> | 2015-12-04 14:27:22 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-12-04 14:27:22 -0800 |
commit | 2763bbd97519d35a43aedf279751e7b1045581dc (patch) | |
tree | 270e75d1a006b06e0987838ea1f6f0a5979698ef /indra/llmessage/llexperiencecache.cpp | |
parent | 5d897443a9e50843ac562da8972bfe2f9f8f1129 (diff) |
Initial changes for Vivox/Azumarill merge. Lots of temporary code and conditional compile switches. Begin switch from statemachine to coroutine.
Diffstat (limited to 'indra/llmessage/llexperiencecache.cpp')
-rw-r--r-- | indra/llmessage/llexperiencecache.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/llmessage/llexperiencecache.cpp b/indra/llmessage/llexperiencecache.cpp index 92fcd38d3b..779d1d9d99 100644 --- a/indra/llmessage/llexperiencecache.cpp +++ b/indra/llmessage/llexperiencecache.cpp @@ -396,12 +396,9 @@ void LLExperienceCache::idleCoro() const F32 ERASE_EXPIRED_TIMEOUT = 60.f; // seconds LL_INFOS("ExperienceCache") << "Launching Experience cache idle coro." << LL_ENDL; - LLEventTimeout timeout; - do { - timeout.eventAfter(SECS_BETWEEN_REQUESTS, LLSD()); - llcoro::suspendUntilEventOn(timeout); + llcoro::suspendUntilTimeout(SECS_BETWEEN_REQUESTS); if (mEraseExpiredTimer.checkExpirationAndReset(ERASE_EXPIRED_TIMEOUT)) { |