Merge pull request #953 from paperless-ngx/bugfix-intoify-debounce

Bugfix: Adds configurable intoify debounce time
This commit is contained in:
Trenton Holmes
2022-05-17 09:25:29 -07:00
committed by GitHub
5 changed files with 117 additions and 4 deletions

View File

@@ -98,6 +98,9 @@ class ConsumerMixin:
print("file completed.")
@override_settings(
CONSUMER_INOTIFY_DELAY=0.01,
)
class TestConsumer(DirectoriesMixin, ConsumerMixin, TransactionTestCase):
def test_consume_file(self):
self.t_start()
@@ -286,7 +289,7 @@ class TestConsumerPolling(TestConsumer):
pass
@override_settings(CONSUMER_RECURSIVE=True)
@override_settings(CONSUMER_INOTIFY_DELAY=0.01, CONSUMER_RECURSIVE=True)
class TestConsumerRecursive(TestConsumer):
# just do all the tests with recursive
pass