Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1709

Only fetch comments once in PullRequestWorkItem in pr bot

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      A minor optimization is possible in PullRequestWorkItem in pr bot. We can cache the result of pr.comments() to avoid querying for them twice. PullRequstWorkItem.isReady() gets comments most of the time already.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: