Package org.mycore.iview2.services
Class MCRStalledJobResetter
java.lang.Object
org.mycore.iview2.services.MCRStalledJobResetter
- All Implemented Interfaces:
Runnable
Resets jobs that took to long to tile.
Set property
MCR.Module-iview2.TimeTillReset
to alter grace period.
Set property MCR.Module-iview2.MaxResetCount
to alter maximum tries per job.- Author:
- Thomas Scheffler (yagee)
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRStalledJobResetter
void
run()
Resets jobs toMCRJobState.NEW
that where in statusMCRJobState.PROCESSING
for to long time.
-
Method Details
-
getInstance
-
run
public void run()Resets jobs toMCRJobState.NEW
that where in statusMCRJobState.PROCESSING
for to long time.
-