Change max threads from 4 to 5 & modify log message

This commit is contained in:
Shreya 2020-08-10 11:29:37 +05:30
parent 7c108e1f2e
commit 444c2cb7dd
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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)))