silversoul
silversoul

Reputation: 33

Nodejs Redis - before expires event

i have a redis subscriber to do something when an expiration event occur. When the expire event occur, the key's parameters are deleted; there is some kind of event to take these parameters just before the expire? Like a pre-expire event.

Thanks a lot

Upvotes: 0

Views: 355

Answers (1)

Itamar Haber
Itamar Haber

Reputation: 49942

No, ATM there isn't. The way to "work around" this, if you really need that kind of fine level control, is stop using the built-in expiration and replace it with your own homegrown code that manages it.

Upvotes: 1

Related Questions