Closed kool2zero closed 5 years ago
How do you kill it? You mean killing the running python process through taskkill? If the scripts ends naturally would it clean up all the sessions?
As a Fallback you could set a low value for HTTPSessionTimeoutMinutes parameter in the tm1s.cfg.
Correct. Killing the python process through task kill... If the script ends naturally, it will clean up the sessions. I will try the HTTPSessionTimeoutMinutes.
It does not appear to work in 10.2.2 FP7 for this use case.
Strange. I would expect the TM1 Server to handle it and clean up the sessions, that are timed out.
I've also encountered issues with HTTPSessionTimeoutMinutes not working correctly in 10.2.2 FP6 as well, I think it may be fixed in one of the Planning Analytics releases.
Problem fixed in TM1 11 / PA
We are testing the code to multithread the execution of processes and we noticed that if the script is ended, it will not disconnect the threads (leaving all the rest threads out there idle). Is there a way to sense the kill and handle the disconnect in the script?