Skip to content

RedisActiveRecord expire time #74

@NaLLiFFuNT

Description

@NaLLiFFuNT

ActiveRecord expire

RedisActiveRecod does not have ability to be stored with some expire time.

What's expected?

Add method to RedisActiveRecod ttl() wich return time to live value in seconds. Every time when we will save or update model, we will apply expire command with this value to AR's keys. If ttl() method return false expire command doesn't have to be applied.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions