Closed devrodriguez closed 2 years ago
When an item is added (through set/replace/fetch), it's automatically promoted.
If you're asking for a special method, like c.Promote(key)
I think you can just do:
_ = c.Get(key)
I don't think there's really be any way to have a dedicate Promote function be more optimized.
Or do I misunderstand your request?
I dude, I need hight availability and Im thinking about to promote items just when it's saved, it's that posible?. I don't want to wait for get first item calls to promote it.