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

Timeout on execution of operation [moved] #39

Closed
lvca opened this issue Dec 10, 2012 · 1 comment
Closed

Timeout on execution of operation [moved] #39

lvca opened this issue Dec 10, 2012 · 1 comment
Assignees
Milestone

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 39 moved from a Google Code project.
Added by 2010-05-25T21:47:19.000Z by l.garu...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, v2.1.0

Original description

To avoid to lock the database with too costly operation (and dead-lock too)
we need to create hooks for any long operation such as:

 * query execution
 * command execution

The idea is to propagate the hook to the caller. The caller can decide if
break the execution or not. Break condition could be a timer. If the
execution eats more than X milliseconds, then break it by raising a
InterruptedException.
@lvca
Copy link
Member Author

lvca commented Apr 24, 2013

Duplicated as #1445 and however now it's fixed

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

No branches or pull requests

1 participant