mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Changing the setting "thread_timeout" has no effect #79

Closed tkopets closed 7 years ago

tkopets commented 7 years ago

Changing the setting thread_timeout does not kill the underlying RDBMS querying process after "thread_timeout" seconds has passed, a hardcoded timeout of 5000 seconds is used instead. https://github.com/mtxr/SQLTools/blob/9b049ef08eae204bbedcf0c8b370e5648b3d230a/SQLToolsAPI/Command.py#L11

tkopets commented 7 years ago

Additionally, the code to kill the process on Windows does not work for some reason, but works fine on Mac.

pancodia commented 5 years ago

I found the thread_timeout still takes no effect. Though now the timeout is 15 seconds.