pepr icon indicating copy to clipboard operation
pepr copied to clipboard

Speed up store

Open cmwylie19 opened this issue 1 month ago • 0 comments

Is your feature request related to a problem? Please describe.

Background: this is in UDS

  • Person creates 10 exemption CRs all at once
  • All 10 get added to the queue

FLOW

  • Process first.
    • get current exemptions from store.
    • append first's exemptions.
    • set new list to store.
  • Process second.
    • get current exemptions from store.
    • append second's exemptions.
    • set new list to store.

Repeat for 3-10

problem If we don't wait on that set to the store, then when we process the second off the queue its "get current exemptions" is missing the stuff that would've been set by the first. If we wait on that set it seems to be excessive wait time

cmwylie19 avatar May 14 '24 19:05 cmwylie19