MontrealCorpusTools / ISCAN

Development repository for Integrated Speech Corpus Analaysis (ISCAN)
MIT License
9 stars 0 forks source link

kill query option? #138

Open msonderegger opened 6 years ago

msonderegger commented 6 years ago

would it be feasible and not a bad idea to add a button to kill a currently-running query?

In practice sometimes the user realizes s/he made an error and wants to correct the query, or suspects that there is an issue (ex: my current spade-icecan query has been running for 20 min) and wants to cancel.

mmcauliffe commented 6 years ago

I think the root issue (20 min with no response) is a different issue I've noticed this weekend where queries don't always start the task to query the database. I'm not really sure why that is, but it should be possible to cancel anyway.

msonderegger commented 6 years ago

is there a way for the user to cancel, or you mean you as admin cancel it?

On Mon, Sep 10, 2018 at 9:23 AM Michael McAuliffe notifications@github.com wrote:

I think the root issue (20 min with no response) is a different issue I've noticed this weekend where queries don't always start the task to query the database. I'm not really sure why that is, but it should be possible to cancel anyway.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MontrealCorpusTools/polyglot-server/issues/138#issuecomment-419910056, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwu0Y0CWgRtbZPCtOLXRHczth1nMVoBks5uZme6gaJpZM4Wf2wo .

mmcauliffe commented 6 years ago

I meant that it's not currently possible, but it should be. The query not running I haven't found a good solution/workaround other than to run another query which randomly works.