aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/executor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 22eea9439..9ef2248be 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -351,12 +351,12 @@ retry:
for (;;) {
timespec ts = {};
ts.tv_sec = 0;
- ts.tv_nsec = (100 - (now - start)) * 1000 * 1000;
+ ts.tv_nsec = (20 - (now - start)) * 1000 * 1000;
syscall(SYS_futex, &th->done, FUTEX_WAIT, 0, &ts);
if (__atomic_load_n(&th->done, __ATOMIC_RELAXED))
break;
now = current_time_ms();
- if (now - start > 100)
+ if (now - start > 20)
break;
}
if (__atomic_load_n(&th->done, __ATOMIC_ACQUIRE))