[Building Sakai] Proposal: Jobscheduler Invocation Interval Property Default Change

Stephen Marquard stephen.marquard at uct.ac.za
Fri Mar 28 08:17:46 PDT 2014


We have had this set to 1 minute in sakai.properties for several years at least:

# Run scheduled jobs every minute (better accuracy)
jobscheduler.invocation.interval = 60

and never come across any adverse effects, so I'd say it's a safe change to make.

Regards
Stephen

From: sakai-dev-bounces at collab.sakaiproject.org [sakai-dev-bounces at collab.sakaiproject.org] on behalf of Bryan Holladay [holladay at longsight.com]
Sent: 28 March 2014 04:57 PM
To: Sakai Development (sakai-dev at collab.sakaiproject.org)
Subject: [Building Sakai] Proposal: Jobscheduler Invocation Interval Property Default Change

I have seen some confusion with both peer assignment open/close dates [1] as well as forum/topic open/close dates since they both rely on the JobschedulerInvocation api to make these changes.  The default value for jobscheduler.invocation.interval property is 10 minutes.  This causes a maximum delay of 10 minutes for these open/close date actions.  I propose to adjust the default to 5 minutes or even lower to 2 minutes.  I am not aware of any problems this would cause other than a slight increase in logs for the jobscheduler UI page.  The jobs that run off of this property are one off jobs (e.g. non reoccurring) so there shouldn't be an issue with overlapping or additional processing overhead (other than a very quick sql query to check for pending jobs).  If there isn't any adverse effects of adjusting this, I'd like to get this in before the 10RC branches start since peer assessments is a new feature for 10.  Lazy consensus will be used for this proposal and the default value would be 5 minutes.

Thanks,
Bryan



[1] https://jira.sakaiproject.org/browse/SAK-25897
________________________________
UNIVERSITY OF CAPE TOWN

This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140328/21a52fc9/attachment.html 


More information about the sakai-dev mailing list