Lean on datastore queries in provider queue #6260
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
P3
Low: Not priority right now
topic/provider
Topic provider
Projects
At the moment, we read in the head/tail of the provider queue on start. However, it's probably easier to just repeatedly query the datastore.
That is,
/provider/queue/$nanosecond-timestamp/$cid
-> (or even just/provider/queue/$start-timestamp.$counter
).Query{Prefix: "/provider/queue/", Order: [OrderByKey]}
.Motivation: track less state. This is really low-priority, it just may simplify this queue a bit and remove room for bugs.
The text was updated successfully, but these errors were encountered: