GriffinSauce / Grouplanner

Easy regular planning with groups
0 stars 0 forks source link

Store group updates #91

Closed HalleyInteractive closed 9 years ago

HalleyInteractive commented 9 years ago

We should store the following updates of a group:

GriffinSauce commented 9 years ago

Forever? How long will this log be?

Perhaps we can create a database worker that periodically cuts logs down to size.

HalleyInteractive commented 9 years ago

I've added a events property to the group schema (group-updates branch), We can store all group events in here.

We could store the last 100 events in there, and maybe only return 25 by default to the interface.

We can add a cron job to remove all events above the 100 limit, and at the same time store the count for this event somewhere in the group data.