MCPcopy Create free account
hub / github.com/MorDavid/NetworkHound / _worker_process

Method _worker_process

validators/base_validator.py:114–120  ·  view source on GitHub ↗

Worker function for multiprocessing

(self, args)

Source from the content-addressed store, hash-verified

112 return results
113
114 def _worker_process(self, args):
115 """Worker function for multiprocessing"""
116 ip, port, timeout, kwargs = args
117
118 # Create a temporary validator instance for this process
119 temp_validator = self.__class__(timeout=timeout, use_multiprocessing=False)
120 return temp_validator.validate_single_target(ip, port, **kwargs)
121
122 def _create_error_result(self, error_message):
123 """Create a standard error result"""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected