diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-10-26 08:44:22 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-10-26 08:44:22 +0800 |
commit | c362c3e9f05e47409313bc88c7a944aa23d704b7 (patch) | |
tree | cd8d8da6e605b7e48167d47a0a31558d4825b7c4 /indra/llcommon/tests/workqueue_test.cpp | |
parent | a2456877583d66062c30a0906cacce941493abea (diff) | |
parent | 2e8e96cfbcb383a667d1b938f364f0bbafcad5b4 (diff) |
Merge tag '6.6.16-release'
source for viewer 6.6.16.6566955269
Diffstat (limited to 'indra/llcommon/tests/workqueue_test.cpp')
-rw-r--r-- | indra/llcommon/tests/workqueue_test.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/tests/workqueue_test.cpp b/indra/llcommon/tests/workqueue_test.cpp index 1d73f7aa0d..7655a7aa1f 100644 --- a/indra/llcommon/tests/workqueue_test.cpp +++ b/indra/llcommon/tests/workqueue_test.cpp @@ -83,7 +83,11 @@ namespace tut // signal the work item that it can quit; consider LLOneShotCond. LLCond<Shared> data; auto start = WorkQueue::TimePoint::clock::now(); - auto interval = 100ms; + // 2s seems like a long time to wait, since it directly impacts the + // duration of this test program. Unfortunately GitHub's Mac runners + // are pretty wimpy, and we're getting spurious "too late" errors just + // because the thread doesn't wake up as soon as we want. + auto interval = 2s; queue.postEvery( interval, [&data, count = 0] |