aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app/cache.go')
-rw-r--r--dashboard/app/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/cache.go b/dashboard/app/cache.go
index 545279203..8d642c1b2 100644
--- a/dashboard/app/cache.go
+++ b/dashboard/app/cache.go
@@ -314,7 +314,7 @@ func ThrottleRequest(c context.Context, requesterID string) (bool, error) {
item.Expiration = cfg.Window
item.Object = obj
err = memcache.Gob.CompareAndSwap(c, item)
- if err == memcache.ErrCASConflict {
+ if err == memcache.ErrCASConflict || err == memcache.ErrNotStored {
if ok {
// Only retry if we approved the query.
// If we denied and there was a concurrent write