mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
REPO-5571 : Change the tempFileCleanerTrigger to work at scale (#293)
* REPO-5571 : Change the tempFileCleanerTrigger to work at scale - added nr of files and time limits
This commit is contained in:
@@ -1220,3 +1220,7 @@ alfresco.content.directAccessUrl.lifetimeInSec=300
|
||||
|
||||
# Creates additional indexes on alf_node and alf_transaction. Recommended for large repositories.
|
||||
system.new-node-transaction-indexes.ignored=true
|
||||
|
||||
# Allows the configuration of maximum limits of the temp files to be deleted or the maximum time allowed to run for the job
|
||||
system.tempFileCleaner.maxFilesToDelete=
|
||||
system.tempFileCleaner.maxTimeToRun=
|
@@ -40,6 +40,8 @@
|
||||
<property name="jobDataAsMap">
|
||||
<map>
|
||||
<entry key="protectHours" value="1"/>
|
||||
<entry key="maxFilesToDelete" value="${system.tempFileCleaner.maxFilesToDelete:#{null}}"/>
|
||||
<entry key="maxTimeToRun" value="${system.tempFileCleaner.maxTimeToRun:#{null}}"/>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -55,6 +57,8 @@
|
||||
<map>
|
||||
<entry key="protectHours" value="1"/>
|
||||
<entry key="directoryName" value="${webscripts.tempDirectoryName}"/>
|
||||
<entry key="maxFilesToDelete" value="${system.tempFileCleaner.maxFilesToDelete:#{null}}"/>
|
||||
<entry key="maxTimeToRun" value="${system.tempFileCleaner.maxTimeToRun:#{null}}"/>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
|
Reference in New Issue
Block a user