提交 6cb65bab authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Change DepLibUV::GetTime() counter

上级 8e5b7bd9
...@@ -60,7 +60,7 @@ void DepLibUV::RunLoop() ...@@ -60,7 +60,7 @@ void DepLibUV::RunLoop()
// TODO: Move to inline in the .h file. // TODO: Move to inline in the .h file.
uint64_t DepLibUV::GetTime() uint64_t DepLibUV::GetTime()
{ {
static uint32_t maxTimeCounter = 32768; static uint32_t maxTimeCounter = 2000;
// TODO: Remove. // TODO: Remove.
if (DepLibUV::timeUpdateCounter == 0 && LAST_NOW != 0) if (DepLibUV::timeUpdateCounter == 0 && LAST_NOW != 0)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论