Agent: Add an ID (int) to relay control message thread name

This commit is contained in:
Mike Salvatore 2022-09-19 14:01:08 -04:00
parent c6a5e294df
commit 51ecf52d4b
1 changed files with 2 additions and 2 deletions

View File

@ -73,10 +73,10 @@ def _check_if_island_server(server: str) -> IIslandAPIClient:
def send_remove_from_waitlist_control_message_to_relays(servers: Iterable[str]):
for server in servers:
for i, server in enumerate(servers, start=1):
t = create_daemon_thread(
target=_send_remove_from_waitlist_control_message_to_relay,
name="SendRemoveFromWaitlistControlMessageToRelaysThread",
name=f"SendRemoveFromWaitlistControlMessageToRelaysThread-{i:02d}",
args=(server,),
)
t.start()