felixclack / redis-timeline

Redis-backed timeline for activity feeds
http://felixclack.github.com/redis-timeline
MIT License
92 stars 30 forks source link

Expiring tracks within timeline #9

Closed petermumford closed 10 years ago

petermumford commented 10 years ago

Is there a way of expiring tracks within a timeline after a certain time so the activity feed doesn't keep on growing? I can't see why you would want to keep tracks which are months old.

felixclack commented 10 years ago

There isn't a way to do this at the moment, but if you have any ideas how you'd like to implement it, I'd be happy to consider a PR.

petermumford commented 10 years ago

Ok. I'll have a look and do some thinking.

Meanwhile, do you know how I could create a track on the fly so its not created on a callback? So something like track_now :new_like ..., ...