You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stores that need to utilize the network (so any store that isn't purely in-memory) really want a context.Context. The current APIs, both RateLimiter and GCRAStore, have no affordance for contexts. This means that things like deadline propagation and cancellation cannot be made to work, to curtail work in the event that communications with the store are slow.
This also problematic for some runtime environments, such as the Google App Engine standard runtime for Go. Access to all App Engine services that might implement the store (memcache, dataastore, etc) all require a context.Context, and the background context does not suffice since the context must be scoped to a particular incoming HTTP request.