Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-20028

Optimize lookups for HTTP access tokens that do not have expiry dates

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Incorrectly Filed
    • None
    • Access Keys
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Current behaviour

      When HTTP access tokens are created without an expiry date, DB lookups are performed more often when the tokens are used for authenticating requests.

      This may contribute in consuming more DB connections.

       

      Sample token creation - no expiry date:

       

      If an expiry date was set, the value can be cached, which can lessen the lookups.

      Feature request

      Improve lookups for access tokens that don't have expiry dates.

              Unassigned Unassigned
              jmariano@atlassian.com JP Mariano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: