Pau Perez
|
e0228f66af
|
Default to archiving data older than 2 years.
This is safer than the current 3 months.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
6ceeda7d9e
|
Instrument TruncateData logging start and end
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
a3b8638faf
|
Delete sessions older than two weeks
This affects users that are actively purchasing, so 2 weeks data is more
than enough. Others can afford to log in again.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
0f1d57db73
|
Delete LogEntries older than a month
They are useful for troubleshooting but a month data seems enough.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
5f84c51c13
|
Delete StateChanges older than a month
They are useful for troubleshooting but a month data seems enough.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
be123b2a72
|
Specify how much data to remove in :truncate_data
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
60d29d619f
|
Replace :truncate_data definition with new class
And cover it with a test.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
78fd785f0c
|
Extract TruncateData out of :truncate_data task
|
2020-04-29 16:49:43 +02:00 |
|