Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353485

Summary: Make cleanup of old jobs configurable
Product: z_Archived Reporter: Gunnar Wagenknecht <gunnar>
Component: gyrexAssignee: Gunnar Wagenknecht <gunnar>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: andreas.mihm
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Gunnar Wagenknecht CLA 2011-08-01 06:32:38 EDT
It should be possible to modify the number of days old job definitions should be kept. Currently it's hard coded to two days.
Comment 1 Gunnar Wagenknecht CLA 2011-08-01 06:35:24 EDT
The default hast been increased to 30 days. It's also possible to override this at runtime by setting system property 'gyrex.jobs.cleanup.maxDaysSinceLastRun'. Any negative value will set the max age to Long.MAX_VALUE which effectivly disables the cleanup completely.
Comment 2 Gunnar Wagenknecht CLA 2011-08-01 06:35:42 EDT
Fix committed.