The Example provided works great to get notifications in a serial manner. However, it is not good for large images.
For example, I am uploading a set of pictures. Pictures that are 20MB each and it takes 2 seconds each time to finish the notifications for each files. Then it goes to next file and so on, till all the of the upload.
I tried to add parallelization of events notification without success :
here is my code :
Hi,
The Example provided works great to get notifications in a serial manner. However, it is not good for large images. For example, I am uploading a set of pictures. Pictures that are 20MB each and it takes 2 seconds each time to finish the notifications for each files. Then it goes to next file and so on, till all the of the upload. I tried to add parallelization of events notification without success : here is my code :
` import logging import threading import inotify.adapters