forked from p15670423/monkey
Agent: Add an ID (int) to relay control message thread name
This commit is contained in:
parent
c6a5e294df
commit
51ecf52d4b
|
@ -73,10 +73,10 @@ def _check_if_island_server(server: str) -> IIslandAPIClient:
|
||||||
|
|
||||||
|
|
||||||
def send_remove_from_waitlist_control_message_to_relays(servers: Iterable[str]):
|
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(
|
t = create_daemon_thread(
|
||||||
target=_send_remove_from_waitlist_control_message_to_relay,
|
target=_send_remove_from_waitlist_control_message_to_relay,
|
||||||
name="SendRemoveFromWaitlistControlMessageToRelaysThread",
|
name=f"SendRemoveFromWaitlistControlMessageToRelaysThread-{i:02d}",
|
||||||
args=(server,),
|
args=(server,),
|
||||||
)
|
)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
Loading…
Reference in New Issue