Skip to content

Add timeout wait param (Develop) #1700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 19, 2019
Merged

Add timeout wait param (Develop) #1700

merged 2 commits into from
Feb 19, 2019

Conversation

awjuliani
Copy link
Contributor

  • Adds timeout wait parameter to python environment interface. Allows adjustable handshake wait time between Unity & python.

(This is the mirror PR into develop for consistency with: #1699)

# Conflicts:
#	ml-agents-envs/setup.py
@awjuliani awjuliani changed the title Add timeout wait param Add timeout wait param (Develop) Feb 12, 2019
def get_communicator(self, worker_id, base_port):
return RpcCommunicator(worker_id, base_port)
def get_communicator(self, worker_id, base_port, timeout_wait):
return RpcCommunicator(worker_id, base_port, timeout_wait)
# return SocketCommunicator(worker_id, base_port)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dead code

@Unity-Technologies Unity-Technologies deleted a comment Feb 13, 2019
@Unity-Technologies Unity-Technologies deleted a comment Feb 13, 2019
@harperj
Copy link
Contributor

harperj commented Feb 13, 2019

Looks good to me 🚢

@awjuliani awjuliani merged commit c050705 into develop Feb 19, 2019
@awjuliani awjuliani deleted the dev-dev-timeout-wait branch February 19, 2019 21:31
LeSphax pushed a commit to LeSphax/ml-agents-1 that referenced this pull request May 3, 2020
* Add timeout wait param
* Remove unnecessary function
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants