mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [tracker modulew] fix duplicate module stats
This commit is contained in:
parent
6f9e0c2f66
commit
6b5e833fc1
4 changed files with 9 additions and 9 deletions
|
@ -56,9 +56,9 @@ class PgpDump(AbstractModule):
|
|||
# Waiting time in seconds between to message processed
|
||||
self.pending_seconds = 1
|
||||
|
||||
self.tracker_term = Tracker_Term()
|
||||
self.tracker_regex = Tracker_Regex()
|
||||
self.tracker_yara = Tracker_Yara()
|
||||
self.tracker_term = Tracker_Term(queue=False)
|
||||
self.tracker_regex = Tracker_Regex(queue=False)
|
||||
self.tracker_yara = Tracker_Yara(queue=False)
|
||||
|
||||
# init
|
||||
self.item_id = None
|
||||
|
|
|
@ -29,8 +29,8 @@ class Tracker_Regex(AbstractModule):
|
|||
"""
|
||||
Tracker_Regex module for AIL framework
|
||||
"""
|
||||
def __init__(self):
|
||||
super(Tracker_Regex, self).__init__()
|
||||
def __init__(self, queue=True):
|
||||
super(Tracker_Regex, self).__init__(queue=queue)
|
||||
|
||||
config_loader = ConfigLoader()
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ class Tracker_Term(AbstractModule):
|
|||
Tracker_Term module for AIL framework
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
super(Tracker_Term, self).__init__()
|
||||
def __init__(self, queue=True):
|
||||
super(Tracker_Term, self).__init__(queue=queue)
|
||||
|
||||
config_loader = ConfigLoader()
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ class Tracker_Yara(AbstractModule):
|
|||
"""
|
||||
Tracker_Yara module for AIL framework
|
||||
"""
|
||||
def __init__(self):
|
||||
super(Tracker_Yara, self).__init__()
|
||||
def __init__(self, queue=True):
|
||||
super(Tracker_Yara, self).__init__(queue=queue)
|
||||
self.pending_seconds = 5
|
||||
|
||||
# Load Yara rules
|
||||
|
|
Loading…
Reference in a new issue