#8422 optimize more discussion thread queries

v1.14.0
closed
nobody
General
nobody
2022-09-23
2022-03-30
No

followup to [#4359] Like it did with backrefs can we consolidate queries for:

  • ForumAttachment queries
  • additional ArtifactReference queries, maybe these are regular ("forward") references from def related_artifacts calling self.refs

Related

Tickets: #4359

Discussion

  • Dillon Walls - 2022-06-30

    dw/8422

    I did similar batch fetching in the thread widget for each post in the thread. We now also batch look up ArtifactReferences as well as Attachments. This should work for all type of threads (i.e. discussion, ticket discussion, wiki responses, etc.).

     
  • Dillon Walls - 2022-06-30
    • status: open --> review
     
  • Dave Brondsema

    Dave Brondsema - 2022-07-01
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2022-09-23
    • Milestone: unreleased --> v1.14.0
     

Log in to post a comment.