diff --git a/environment.yaml b/environment.yaml index b8bc363f7..81fb1ff53 100644 --- a/environment.yaml +++ b/environment.yaml @@ -47,5 +47,4 @@ dependencies: - types-pyyaml==6.0.12.11 - types-redis==4.6.0.6 - types-tabulate==0.9.0.3 - - watchdog==3.0.0 name: openwpm diff --git a/openwpm/task_manager.py b/openwpm/task_manager.py index 922187f95..b1b1ac027 100644 --- a/openwpm/task_manager.py +++ b/openwpm/task_manager.py @@ -110,7 +110,7 @@ def __init__( self.logging_server = MPLogger( self.manager_params.log_path, str(structured_storage_provider), - **self._logger_kwargs + **self._logger_kwargs, ) self.manager_params.logger_address = self.logging_server.logger_address self.logger = logging.getLogger("openwpm") @@ -379,6 +379,7 @@ def _start_thread( # Start command execution thread args = (self, command_sequence) thread = threading.Thread(target=browser.execute_command_sequence, args=args) + thread.name = f"BrowserManagerHandle-{browser.browser_id}" browser.command_thread = thread thread.daemon = True thread.start() diff --git a/scripts/environment-unpinned.yaml b/scripts/environment-unpinned.yaml index 79deadfcf..25934b66a 100644 --- a/scripts/environment-unpinned.yaml +++ b/scripts/environment-unpinned.yaml @@ -33,4 +33,3 @@ dependencies: - domain-utils - dataclasses-json - tranco - - watchdog