Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1753

Allow configurable WithTransaction timeout

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Transactions
    • None
    • Needed

      We currently set a non-configurable timeout of 120 seconds for WithTransaction. It's recently come up that users might want to set their own WithTransaction timeout. That way, a user could end WithTransaction earlier if there's a series of TransientTransactionErrors (something like network timeouts).

      Should we consider making this configurable?

            Assignee:
            Unassigned Unassigned
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: