Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 0 additions & 166 deletions MULTIPROCESSING.md

This file was deleted.

3 changes: 1 addition & 2 deletions classes/protocol_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class protocol_settings:
_log : logging.Logger = None


def __init__(self, protocol : str, transport_settings : "SectionProxy" = None, settings_dir : str = "protocols", unique_id : str = None):
def __init__(self, protocol : str, transport_settings : "SectionProxy" = None, settings_dir : str = "protocols"):

#apply log level to logger
self._log_level = getattr(logging, logging.getLevelName(logging.getLogger().getEffectiveLevel()), logging.INFO)
Expand All @@ -275,7 +275,6 @@ def __init__(self, protocol : str, transport_settings : "SectionProxy" = None, s
self.protocol = protocol
self.settings_dir = settings_dir
self.transport_settings = transport_settings
self.unique_id = unique_id # Store unique identifier for this instance

#load variable mask
self.variable_mask = []
Expand Down
5 changes: 1 addition & 4 deletions classes/transports/transport_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ def __init__(self, settings : "SectionProxy") -> None:
#must load after settings
self.protocol_version = settings.get("protocol_version")
if self.protocol_version:
# Create a unique protocol settings instance for each transport to avoid shared state
unique_id = f"{self.transport_name}_{self.protocol_version}"
self._log.debug(f"Creating protocol settings with unique_id: {unique_id}")
self.protocolSettings = protocol_settings(self.protocol_version, transport_settings=settings, unique_id=unique_id)
self.protocolSettings = protocol_settings(self.protocol_version, transport_settings=settings)

if self.protocolSettings:
self.protocol_version = self.protocolSettings.protocol
Expand Down
Loading