gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

Add a last index time to the index schedule #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Indexing schedules need a last time run to be able to report to admins when 
setting up indexes and users when searching (i.e. if the last time is null, it 
has never been run, the user should be alerted of this because it will prevent 
them from getting results on searches).

Original issue reported on code.google.com by stepha...@gaiaresources.com.au on 23 Apr 2012 at 4:06

GoogleCodeExporter commented 9 years ago
Modified the scheduled IndexTask to contain a reference to the IndexSchedule it 
is running so it can update the last run time on completion.  Because the 
scheduled task is run inside a Thread, it must maintain its own session and 
transaction for updating.

Original comment by stepha...@gaiaresources.com.au on 26 Apr 2012 at 7:20

GoogleCodeExporter commented 9 years ago
Fixed in r278.

Includes a database migration to add the last run time to the IndexSchedule.

Original comment by stepha...@gaiaresources.com.au on 1 May 2012 at 7:19