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

Timed out async queries making second callback #899

Open
tokebe opened this issue Nov 5, 2024 · 0 comments
Open

Timed out async queries making second callback #899

tokebe opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tokebe
Copy link
Member

tokebe commented Nov 5, 2024

It appears from internal discussion that BTE is failing to properly cancel effort on timed out tasks, causing a second callback to be sent to the client after the initial timeout.

This is possibly something wrong with either the redis queuing system, or more likely a failure in communication to the Piscina pool to stop the worker.

This should be testable by running a query that does finish with a timeout that is lower than its completion time. It's possible that this only affects callback rather than the actual job status, in which case debug breakpoints on the callback code will also be necessary.

@tokebe tokebe added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant