IBM / JTOpen

IBM Toolbox for Java, an IBM i communications library
https://ibm.github.io/JTOpen/
Other
56 stars 26 forks source link

ProgramCall.setTimeout dosn't include the program connection #162

Open marcoDKT opened 5 months ago

marcoDKT commented 5 months ago

Hello, When using the setTimeout method, I have the impression that the connection timeout is not taken in consideration. For example, if I set a timeout of 1sec, it may happen that my connection to the AS400 takes too long (for example 10sec) even though I have a timeout of 1sec. Is it possible to implement a timeout for the connection directly (for the AS400ConnectionsFactory class I suppose?).

I'm currently using the version 20.0.6 of the librairy