Inotify is still missing some changes, prefer polling for now.

This commit is contained in:
Leo Vasanko 2023-11-12 22:38:27 +00:00
parent e206a1a359
commit 5bdeb180b5

View File

@ -337,7 +337,7 @@ async def abroadcast(msg):
async def start(app, loop): async def start(app, loop):
config.load_config() config.load_config()
use_inotify = sys.platform == "linux" use_inotify = False and sys.platform == "linux"
app.ctx.watcher = threading.Thread( app.ctx.watcher = threading.Thread(
target=watcher_thread if use_inotify else watcher_thread_poll, target=watcher_thread if use_inotify else watcher_thread_poll,
args=[loop], args=[loop],