Commit 559b4f3047ab1670cdb4b1f3551a419d6c8cf3fa

Authored by Rui Fernandes
1 parent 4555044292
Exists in master

config for deleteBatchCount and daysToKeep were being ignored (using always 1000…

… and -1 default values)
src/org/alfresco/trashcan/TrashcanCleanerJob.java
... ... @@ -32,7 +32,7 @@ public class TrashcanCleanerJob extends AbstractScheduledLockedJob {
32 32 private void cleanInTransaction() {
33 33 RetryingTransactionCallback<Object> txnWork = new RetryingTransactionCallback<Object>() {
34 34 public Object execute() throws Exception {
35   - TrashcanCleaner cleaner = new TrashcanCleaner(nodeService);
  35 + TrashcanCleaner cleaner = new TrashcanCleaner(nodeService,deleteBatchCount,daysToKeep);
36 36 cleaner.clean();
37 37 return null;
38 38 }
... ...