Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-124

Deprecate timeout attribute/function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: Browser, Node.js
    • Tags:
    • Sprint:
      nxfit 10.1.5
    • Story Points:
      2

      Description

      Keep only `httpTimeout` and `transactionTimeout` to be configurable by the user of the client.

      Deprecate the `timeout` parameter, and if present use it only for the `httpTimeout` if it's not define.
      => Do not try to guess/compute a Nuxeo transaction timeout based on that.

      Document that:

      • the `httpTimeout` is in ms, and work only in a Node.js context
      • the `transactionTimeout is in seconds

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h