Inotify is still missing some changes, prefer polling for now.
This commit is contained in:
parent
e206a1a359
commit
5bdeb180b5
|
@ -337,7 +337,7 @@ async def abroadcast(msg):
|
|||
|
||||
async def start(app, loop):
|
||||
config.load_config()
|
||||
use_inotify = sys.platform == "linux"
|
||||
use_inotify = False and sys.platform == "linux"
|
||||
app.ctx.watcher = threading.Thread(
|
||||
target=watcher_thread if use_inotify else watcher_thread_poll,
|
||||
args=[loop],
|
||||
|
|
Loading…
Reference in New Issue
Block a user