Skip to content

Conversation

@syntron
Copy link
Contributor

@syntron syntron commented Nov 23, 2025

Add / fix argument timeout to / of ModelicaSystem and ModelicaSystemDoE

@syntron syntron force-pushed the ModelicaSystem_timeout branch from ecd996f to d37ec0b Compare November 24, 2025 20:57
Copy link
Member

@adeas31 adeas31 left a comment

Choose a reason for hiding this comment

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

ModelicaSystemDoE and ModelicaSystem doesn't really need timeout. The timeout is used by OMCSessionZMQ so it is better to expose timeout with API so it can be set to something else other than default 10s.

I also saw that timeout is used very randomly in the code. For starting omc we are using timeout of 2s and then each process class also uses timeout. It is also used for command execution. Perhaps its better to clean up the code and use timeout properly.

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.

2 participants