- Added currency.transactionsLifetime which controls auto-deletion of currency transactions from the database

- Updated changelog
This commit is contained in:
Kwoth
2022-02-02 13:52:54 +01:00
parent 15ee3dd638
commit eecccc8100
6 changed files with 70 additions and 21 deletions

View File

@@ -77,6 +77,10 @@ public class CurrencyConfig
[Comment(@"What is the name of the currency")]
public string Name { get; set; } = "Nadeko Flower";
[Comment(@"For how long will the transactions be kept in the database (curtrs)
Set 0 to disable cleanup (keep transactions forever)")]
public int TransactionsLifetime { get; set; } = 0;
}
[Cloneable]