From: Alan T. DeKok Date: Fri, 22 Sep 2017 14:59:42 +0000 (-0400) Subject: note on todo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9078ef154096090aaaf3fb6d6abdcb130bb6eeb4;p=thirdparty%2Ffreeradius-server.git note on todo --- diff --git a/src/lib/io/worker.c b/src/lib/io/worker.c index 9b562266ca8..25434de44a8 100644 --- a/src/lib/io/worker.c +++ b/src/lib/io/worker.c @@ -1378,6 +1378,11 @@ static void fr_worker_post_event(UNUSED fr_event_list_t *el, UNUSED struct timev /* * Ten times a second, check for timeouts on incoming packets. + * + * @todo - change this to a timer, based on a new field, + * request->async->cleanup_time. Then round that UP to + * the next nearest second (or 1/10s) so that the + * cleanups are done periodically. */ if ((now - worker->checked_timeout) > (NANOSEC / 10)) { DEBUG3("\t%schecking timeouts", worker->name);