• Evan Hunt's avatar
    shorten the sleep in isc_nm_destroy() · b0d5ca26
    Evan Hunt authored
    when isc_nm_destroy() is called, there's a loop that waits for
    other references to be detached, pausing and unpausing the netmgr
    to ensure that all the workers' events are run, followed by a
    1-second sleep. this caused a delay on shutdown which will be
    noticeable when netmgr is used in tools other than named itself,
    so the delay has now been reduced to a hundredth of a second.
    (cherry picked from commit 870204fe)
netmgr.c 35.2 KB