Explorar el Código

delete last_ts info for unlinked keys

master
Fusl hace 11 meses
padre
commit
4f08776500
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      globalbackfeedmanager.go

+ 1
- 0
globalbackfeedmanager.go Ver fichero

@@ -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)
}


Cargando…
Cancelar
Guardar