new: Auto trigger modules in the bg process

pull/205/head
Raphaël Vinot 2021-05-19 15:12:35 -07:00
parent 11f05626b5
commit 335ab662cf
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class BackgroundIndexer(AbstractManager):
try: try:
self.logger.info(f'Build pickle for {uuid}: {uuid_path.parent.name}') self.logger.info(f'Build pickle for {uuid}: {uuid_path.parent.name}')
self.lookyloo.get_crawled_tree(uuid) self.lookyloo.get_crawled_tree(uuid)
self.lookyloo.trigger_modules(uuid, auto_trigger=True)
self.logger.info(f'Pickle for {uuid} build.') self.logger.info(f'Pickle for {uuid} build.')
except NoValidHarFile: except NoValidHarFile:
self.logger.warning(f'Unable to build pickle for {uuid}: {uuid_path.parent.name}') self.logger.warning(f'Unable to build pickle for {uuid}: {uuid_path.parent.name}')