-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JobManager: refactor, database imp, clustered imp #501
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's missing some general documentation on how to enable the DB mode. Especially the CREATE TABLE
you need for all that to work.
@@ -41,7 +42,8 @@ | |||
<property name="timeToKeepAfterAccessInMinutes" value="30" /> | |||
</bean> | |||
|
|||
<bean id="jobManager" class="org.mapfish.print.servlet.job.ThreadPoolJobManager"> | |||
<bean id="jobQueue" class="org.mapfish.print.servlet.job.impl.RegistryJobQueue"></bean> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird indentation.
<property name="properties"> | ||
<props> | ||
<prop key="jobManager.clustered">true</prop> | ||
<prop key="jobManager.oldFileCleanUp">false</prop> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't find where you delete old jobs in hibernate mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, that was still missing, I have added it now.
No need for a create table, that happens automatically. An empty database is sufficient |
Looking good. There is just one thing that bothers me... Extract from the spec:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I've missed all the part about polling. LGTM!
Thanks
No description provided.