Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 399 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 399 Bytes

EctoTtl Build Status

EctoTtl provides a time to live extension for Ecto models.

Usage

Start ecto_ttl and call Ecto.Ttl.models/2. EctoTtl will only work on models which have the ttl field configured:

field :ttl, :integer

Given entries will be deleted after not being updated for ttl seconds.