-
Hello, The video directory is watched by watchdog and the server socketio logs show the following at 6 second intervals:
Initialization code:
namespace class:
Associated call to video_file_watcher and the watchdog PatternMatchingEventHandler
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Are all the libraries that you are using compatible with asyncio? The most likely cause of your delays is that your application is blocking, which is not related to socket.io. |
Beta Was this translation helpful? Give feedback.
-
Thanks Miguel. The issue ended up being that I was emitting events into the wrong async loop. The solutions was to pass the loop to the thread process and use it in the handler to emit. |
Beta Was this translation helpful? Give feedback.
Thanks Miguel. The issue ended up being that I was emitting events into the wrong async loop. The solutions was to pass the loop to the thread process and use it in the handler to emit.