Sfoglia il codice sorgente

delete last_ts info for unlinked keys

master
Fusl 11 mesi fa
parent
commit
4f08776500
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      globalbackfeedmanager.go

+ 1
- 0
globalbackfeedmanager.go Vedi 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)
}


Caricamento…
Annulla
Salva