summaryrefslogtreecommitdiff
path: root/indra/llcommon/coro_scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/coro_scheduler.cpp')
-rw-r--r--indra/llcommon/coro_scheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/coro_scheduler.cpp b/indra/llcommon/coro_scheduler.cpp
index 393356a39b..02b9f11333 100644
--- a/indra/llcommon/coro_scheduler.cpp
+++ b/indra/llcommon/coro_scheduler.cpp
@@ -26,7 +26,7 @@
namespace llcoro
{
-const F32 scheduler::DEFAULT_TIMESLICE{ LL::Timers::DEFAULT_TIMESLICE };
+const F64 scheduler::DEFAULT_TIMESLICE{ LL::Timers::DEFAULT_TIMESLICE };
const std::string qname("General");
@@ -72,7 +72,7 @@ boost::fibers::context* scheduler::pick_next() noexcept
// When the main fiber is ready, and it's been more than mTimeslice since
// the main fiber last ran, it's time to intervene.
- F32 elapsed(now - mMainLast);
+ F64 elapsed(now - mMainLast);
if (mMainCtx && elapsed > mTimeslice)
{
// We claim that the main fiber is not only stored in mMainCtx, but is