wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

Calendar resource should only save the most recent and future events instead everything back to 1900... #64

Open michaelwechner opened 10 years ago

michaelwechner commented 10 years ago

At the moment the calendar resource

src/resources/calendar/src/java/org/wyona/yanel/impl/resources/calendar/CalendarResource.java

saves all events, which does no scale well. It would be nice to have a resource configuration property "delete-older-than", such that one can set a limit for events to be kept inside the ICS. For example all events older than 1 year should be deleted from the ICS. We still would have these events as XML events in order to recover when necessary