aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 8f5e221ac..8fa4a071b 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -549,6 +549,8 @@ retry:
// Wait for call completion.
uint64_t start = current_time_ms();
uint64_t now = start;
+ // Note: sys knows about this 20ms timeout when it generates
+ // timespec/timeval values.
const uint64_t timeout_ms = flag_debug ? 500 : 20;
for (;;) {
timespec ts = {};