mirror of https://github.com/CIRCL/AIL-framework
fix: [tracker modulew] fix duplicate module stats
parent
6f9e0c2f66
commit
6b5e833fc1
|
@ -56,9 +56,9 @@ class PgpDump(AbstractModule):
|
||||||
# Waiting time in seconds between to message processed
|
# Waiting time in seconds between to message processed
|
||||||
self.pending_seconds = 1
|
self.pending_seconds = 1
|
||||||
|
|
||||||
self.tracker_term = Tracker_Term()
|
self.tracker_term = Tracker_Term(queue=False)
|
||||||
self.tracker_regex = Tracker_Regex()
|
self.tracker_regex = Tracker_Regex(queue=False)
|
||||||
self.tracker_yara = Tracker_Yara()
|
self.tracker_yara = Tracker_Yara(queue=False)
|
||||||
|
|
||||||
# init
|
# init
|
||||||
self.item_id = None
|
self.item_id = None
|
||||||
|
|
|
@ -29,8 +29,8 @@ class Tracker_Regex(AbstractModule):
|
||||||
"""
|
"""
|
||||||
Tracker_Regex module for AIL framework
|
Tracker_Regex module for AIL framework
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self, queue=True):
|
||||||
super(Tracker_Regex, self).__init__()
|
super(Tracker_Regex, self).__init__(queue=queue)
|
||||||
|
|
||||||
config_loader = ConfigLoader()
|
config_loader = ConfigLoader()
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,8 @@ class Tracker_Term(AbstractModule):
|
||||||
Tracker_Term module for AIL framework
|
Tracker_Term module for AIL framework
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, queue=True):
|
||||||
super(Tracker_Term, self).__init__()
|
super(Tracker_Term, self).__init__(queue=queue)
|
||||||
|
|
||||||
config_loader = ConfigLoader()
|
config_loader = ConfigLoader()
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ class Tracker_Yara(AbstractModule):
|
||||||
"""
|
"""
|
||||||
Tracker_Yara module for AIL framework
|
Tracker_Yara module for AIL framework
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self, queue=True):
|
||||||
super(Tracker_Yara, self).__init__()
|
super(Tracker_Yara, self).__init__(queue=queue)
|
||||||
self.pending_seconds = 5
|
self.pending_seconds = 5
|
||||||
|
|
||||||
# Load Yara rules
|
# Load Yara rules
|
||||||
|
|
Loading…
Reference in New Issue