]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
note on todo
authorAlan T. DeKok <aland@freeradius.org>
Fri, 22 Sep 2017 14:59:42 +0000 (10:59 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 22 Sep 2017 14:59:42 +0000 (10:59 -0400)
src/lib/io/worker.c

index 9b562266ca806a2a783d1bac713ff5d409b29525..25434de44a8a6dd8c618b8b62e815e5999c6dc4a 100644 (file)
@@ -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);