Commit 3b87ba92b5e063f8e58dcb979964c305f047f88e
1 parent
d9814fcb5c
Exists in
master
Add comments to alfresco-global.properties. Rename daysToKeep property to keepPeriod.
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
src/main/config/alfresco/module/alfresco-trashcan-cleaner/alfresco-global.properties
1 | +# cron schedule for the Trashcan Cleaner job | |
1 | 2 | trashcan.cron=0 30 * * * ? |
2 | 3 | |
3 | -trashcan.daysToKeep=P1D | |
4 | +# the period for which trashcan items are kept (in java.time.Duration format) | |
5 | +trashcan.keepPeriod=P1D | |
4 | 6 | |
7 | +# how many trashcan items to delete per job run | |
5 | 8 | trashcan.deleteBatchCount=1000 | ... | ... |
src/main/config/alfresco/module/alfresco-trashcan-cleaner/context/service-context.xml
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | <constructor-arg ref="nodeService" /> |
7 | 7 | <constructor-arg ref="transactionService" /> |
8 | 8 | <constructor-arg value="${trashcan.deleteBatchCount}" /> |
9 | - <constructor-arg value="${trashcan.daysToKeep}" /> | |
9 | + <constructor-arg value="${trashcan.keepPeriod}" /> | |
10 | 10 | </bean> |
11 | 11 | |
12 | 12 | <bean id="trashcanCleanerJob" class="org.alfresco.util.CronTriggerBean"> | ... | ... |