forked from p34709852/monkey
Change max threads from 4 to 5 & modify log message
This commit is contained in:
parent
7c108e1f2e
commit
444c2cb7dd
|
@ -139,7 +139,7 @@ class InfectionMonkey(object):
|
|||
StateTelem(is_done=False, version=get_version()).send()
|
||||
TunnelTelem().send()
|
||||
|
||||
LOG.debug("Starting the post-breach phase.")
|
||||
LOG.debug("Starting the post-breach phase asynchronously.")
|
||||
post_breach_phase = Thread(target=self.start_post_breach_phase)
|
||||
post_breach_phase.start()
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class PostBreach(object):
|
|||
"""
|
||||
Executes all post breach actions.
|
||||
"""
|
||||
pool = Pool(4)
|
||||
pool = Pool(5)
|
||||
pool.map(self.run_pba, self.pba_list)
|
||||
LOG.info("All PBAs executed. Total {} executed.".format(len(self.pba_list)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue