commit f89c32ccd0ea9ce8bbe4620257f8a754de8b8b17
parent 94a2376e01a5a35b3ce030874a15faba56ea6322
Author: rl1987 <rl1987@sdf.lonestar.org>
Date: Mon, 9 Mar 2020 16:03:43 +0200
Document poll_interval_tv in procmon.c
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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