NEWS: main-loop changes around zero-timeout sources

This commit is contained in:
Arne Welzel 2023-03-21 09:25:15 +01:00
parent 38c4611c7e
commit 2b14503c3d

11
NEWS
View file

@ -112,6 +112,17 @@ Changed Functionality
``--disable-port-prealloc`` will disable the preallocation and enable the map ``--disable-port-prealloc`` will disable the preallocation and enable the map
lookup version. lookup version.
- The main-loop has been changed to process all ready IO sources with a
zero timeout in the same loop iteration. Previously, two zero-timeout
sources would require two main-loop iterations. Further, when the main-loop
is polling IO sources with file descriptors, zero timeout IO sources are
added to the list of sources to be processed as well.
The intervals to decide when FD based IO sources are checked for readiness
have been made configurable through ``io_poll_interval_default`` and
``io_poll_interval_live`` for ease of testing, development and debugging
of the main-loop.
Zeek 5.2.0 Zeek 5.2.0
========== ==========