tballison / tika-gui-v2

Unofficial user interface for Apache Tika
Apache License 2.0
7 stars 0 forks source link

Allow app to close yet leave batch process running #6

Open tballison opened 2 years ago

tballison commented 2 years ago

This will also allow the app to open up and see if the last started process is still running.

Will need to ensure that the app can only kick off one batch process at a a time.

tballison commented 2 years ago

This basically works now. Still need to add the check mentioned above, and we still need to add confirmation that the process id that is stored in the state.json file is actually the same batch process once the app is turned back on and looks up that process id. That is, we don't want this application to accidentally kill a process that happens to have the old process id's id. The chances of this are really small, but we should add some checks.

tballison commented 2 years ago

Will likely turn this off in the near term because of the complexity it adds to the code.

tballison commented 2 years ago

I've thoroughly disabled this for now.