Skip to content
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

#174 add timeout options to zmq socket #175

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

olehnikolaiev
Copy link
Contributor

fixes #174

added zmq.SNDTIMEO and zmq.RCVTIMEO options to the zmq socket which is used to connect to a sgx server. before these timeouts were set to infinity by default.

tested locally - aftet connecting a socket to the sgx server the script hangs fort some time. during that time stopped the sgx server and checked the response result

no performance impact

@olehnikolaiev olehnikolaiev merged commit 777c69a into develop Oct 30, 2024
3 checks passed
@olehnikolaiev olehnikolaiev deleted the bug/174-sgx-timeout branch October 30, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sgx.py do not handle sys.exit(1) error during checks in skale-api
2 participants