Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-58

Timeout for queries

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I want to be able to set a timeout for all queries on the database (maybe even all operations?). For a user-facing website if some types of queries (or updates) take more than a fixed amount of time it's preferable to kill the operation to return to the user quickly. There should be a parameter which causes an exception to be thrown if an operation isn't totally finished (i.e. the cursor is exhausted) by the timeout time.

            Assignee:
            mike Michael Dirolf (Inactive)
            Reporter:
            jeff jeff jenkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None