pepr
pepr copied to clipboard
Speed up store
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