Commit Graph

4 Commits

Author SHA1 Message Date
eduardopietre 0defd2d6ce Housekeeping retention period can now be set in settings. 2022-05-07 20:20:39 -03:00
Johan Degraeve 7c5f20af5d treatments : delete treatments older than 90 days
deletion is done at app start up.
If user would go to treatments screen very fastly, after starting the app, then it may crash (only once). But that's probably not going to happen frequently
2022-04-30 11:36:33 +02:00
Johan Degraeve 1bf7d377f2 Fix crashes in coredata.
Several crashes were happening randomly due to wrong handling of NSManagedObjectContext.
This should now be fixed.
2021-02-10 23:09:29 +01:00
Johan Degraeve 74899d8fb4 housekeeping for breadings and calibrations, readings older than 90 days will be deleted from core data. Calibrations older than 90 days and that do not have anymore readings referring to it, will be deleted 2020-10-04 21:21:41 +02:00