RFR: 1709: Only fetch comments once in PullRequestWorkItem in pr bot

Magnus Ihse Bursie ihse at openjdk.org
Wed Dec 14 12:54:48 UTC 2022


On Tue, 6 Dec 2022 23:57:39 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> This patch provides a minor optimization for `PullRequestWorkItem` subclasses in the pr bot by avoiding re-fetching of pr.comments(). I initially started this patch with a much bigger optimization in mind, but it turned out to not work. I still think it worth applying the remaining patch since I've gone through the trouble of implementing it.

LGTM

-------------

Marked as reviewed by ihse (Reviewer).

PR: https://git.openjdk.org/skara/pull/1437


More information about the skara-dev mailing list