Skip to content
Snippets Groups Projects
Commit 3a68980a authored by owenw2's avatar owenw2
Browse files

updated comments

parent 1b611479
No related branches found
No related tags found
No related merge requests found
DURATION=100
\ No newline at end of file
......@@ -60,4 +60,6 @@ print("DEPOSIT wqkby 10")
time.sleep(1)
print("DEPOSIT yxpqg 75")
time.sleep(10)
print("TRANSFER yxpqg -> wqkby 13")
time.sleep(5)
print("TRANSFER yxpqg -> wqkby 13")
\ No newline at end of file
TIMESTAMP = 0
\ No newline at end of file
TIMESTAMP = 0
DURATION = 100
\ No newline at end of file
......@@ -32,7 +32,6 @@ def b_multicast(nodes: Dict[str, socket.socket], q: queue.Queue, lock: threading
# pq.put(data_str) # add to priority queue
pq.put(Message(message, timestamp, process, "first", False, cur_time)) # add to priority queue
print(f"Sent message to {indentifier} {message}")
except Exception as e:
print(f"Error sending message to {indentifier}: {e}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment