How to change the default timeout in pyoptislang?

Georg Kandler
Member, Employee Posts: 10
✭✭✭


The default timeout for pyoptislang is 30 seconds, which can be too short for certain operations.
Is it possible to change the default timeout value?
Tagged:
0
Best Answer
-
You can access and change the default timeout value by running the following command:
osl = Optislang() # create the oSL instance osl.osl_server.timeouts_register.default_value = 600.0 # Change the default value to 600 seconds
0