An error occurred fetching the project authors.
  1. 23 Feb, 2021 1 commit
    • Jan Provaznik's avatar
      Load epic issue metadata info in batches · e15a1c73
      Jan Provaznik authored
      If number of epic ids we pass to BulkEpicAggregateLoader reaches a limit
      (~200), then postgres uses a different plan for the query which is much
      slower.
      
      To avoid this situation, we get this metadata in two phases:
      1. get epic ids for epics and its descendants (we use pluck because
      this query is recursive and find_each wouldn't help here)
      2. we iterate in batches and get metadata for each of batch
      e15a1c73
  2. 09 Mar, 2020 3 commits
    • charlieablett's avatar
      Extra lazy calculation · aa7cdbaa
      charlieablett authored
      -Don't even add up the direct sums
      until we're ready to calculate everything
      - Modify tests
      - Make constants consistent COUNT_FACET is just COUNT
      - Add limit to db call
      aa7cdbaa
    • charlieablett's avatar
      Apply reviewer comments · 9cd77158
      charlieablett authored
      - Rename immediate to direct
      - Another matcher for calculated as well as
       direct sums
      - Remove unneeded constant methods
      - Test epic node state
      - Simplify epic tree load methods
      - Combine epic children and direct total
      assembly
      9cd77158
    • charlieablett's avatar
      Simplify auxiliary classes · a883852c
      charlieablett authored
      - Remove utility classes
      - Store more state in EpicNode
      a883852c