]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
manager: files watchdog: watch parent directory for changes
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 28 Nov 2024 16:44:58 +0000 (17:44 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 3 Dec 2024 07:53:33 +0000 (08:53 +0100)
commit21221339e1dbefdb84dfce79b6455ed4cfdf2614
tree1707f372791875357a49d675efe8153429a02ed1
parentd588d98571346c5a62b224ba368f89a33cc4ad92
manager: files watchdog: watch parent directory for changes

Watching the whole parent directory is better because we can see file deletion and creation and there is no need to reinitiate the watchdog when a file is replaced.
python/knot_resolver/manager/files/watchdog.py