Browse Source

delete last_ts info for unlinked keys

master
Fusl 10 months ago
parent
commit
4f08776500
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      globalbackfeedmanager.go

+ 1
- 0
globalbackfeedmanager.go View File

@@ -281,6 +281,7 @@ func (that *GlobalBackfeedManager) HandleUnlink(res http.ResponseWriter, req *ht
return
}
pipe := that.BackfeedRedis.Pipeline()
pipe.HDel(req.Context(), ":last_ts", keys...)
for _, key := range keys {
pipe.Unlink(req.Context(), key)
}


Loading…
Cancel
Save