mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Test out always closing the inotify
This commit is contained in:
parent
169aa8c8bd
commit
c7eaf21c11
@ -354,6 +354,6 @@ class Command(BaseCommand):
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
logger.info("Received SIGINT, stopping inotify")
|
logger.info("Received SIGINT, stopping inotify")
|
||||||
finished = True
|
finished = True
|
||||||
|
finally:
|
||||||
inotify.rm_watch(descriptor)
|
inotify.rm_watch(descriptor)
|
||||||
inotify.close()
|
inotify.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user