Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For async. concordance calculation, report timeouted Rq task and remove unfinished concordance #6184

Open
tomachalek opened this issue Apr 5, 2024 · 0 comments
Assignees

Comments

@tomachalek
Copy link
Member

I.e. in case _should_be_bg_query (see search.py) says True and the calculation goes to an Rq worker and the client just regularly checks for status (either via Ajax or Websockets), the checking routine should be able to detect timeouted task and make sure the unfinished concordance is removed and the client is informed that the calculation failed.

To test and develop that, it will probably be necessary to temporarily change things like Rq task timeout, _should_be_bg_query (to always return True).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants