aboutsummaryrefslogtreecommitdiff
path: root/src/lib/evloop/procmon.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2020-03-09 16:03:43 +0200
committerDavid Goulet <dgoulet@torproject.org>2020-03-10 09:13:22 -0400
commitf89c32ccd0ea9ce8bbe4620257f8a754de8b8b17 (patch)
treee805dcfb48001984935e4410b347b73bc5362be8 /src/lib/evloop/procmon.c
parent94a2376e01a5a35b3ce030874a15faba56ea6322 (diff)
downloadtor-f89c32ccd0ea9ce8bbe4620257f8a754de8b8b17.tar.gz
tor-f89c32ccd0ea9ce8bbe4620257f8a754de8b8b17.zip
Document poll_interval_tv in procmon.c
Diffstat (limited to 'src/lib/evloop/procmon.c')
-rw-r--r--src/lib/evloop/procmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evloop/procmon.c b/src/lib/evloop/procmon.c
index 3276cb1808..718c7d4777 100644
--- a/src/lib/evloop/procmon.c
+++ b/src/lib/evloop/procmon.c
@@ -165,8 +165,8 @@ tor_validate_process_specifier(const char *process_spec,
return parse_process_specifier(process_spec, &ppspec, msg);
}
-/* DOCDOC poll_interval_tv */
-static const struct timeval poll_interval_tv = {15, 0};
+/* We check this often for presence of owning controller process. */
+static const struct timeval poll_interval_tv = {15, 0}; // 15 seconds.
/** Create a process-termination monitor for the process specifier
* given in <b>process_spec</b>. Return a newly allocated