Removed unnecessary time.sleep in the streaming server on the learner side

Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com>
This commit is contained in:
Michel Aractingi 2025-01-29 16:31:38 +00:00
parent 9aabe212ea
commit e856ffc91e
1 changed files with 0 additions and 3 deletions

View File

@ -87,9 +87,6 @@ def stream_transitions_from_actor(host="127.0.0.1", port=50051):
if response.HasField("interaction_message"):
content = pickle.loads(response.interaction_message.interaction_message_bytes)
interaction_message_queue.put(content)
# NOTE: Cool down the CPU, if you comment this line you will make a huge bottleneck
# TODO: LOOK TO REMOVE IT
time.sleep(0.001)
def learner_push_parameters(