afimb / chouette

chouette is a Java program for validating and exchanging Public Transport datas. Comes with a ruby web app : https://github.com/afimb/chouette2
http://www.chouette.mobi
Other
23 stars 22 forks source link

Rutebanken graceful shutdown #44

Closed tomgag closed 5 years ago

tomgag commented 8 years ago

If enabled, interrupted running jobs (ie STARTED jobs) will become RESCHEDULED, and will be picked up and STARTED again on server restart. The functionality is switched off by default. Can be switched on by setting iev.reschedule.interrupted.jobs=true in the iev.properties file.

seime commented 8 years ago

The goal here is to be able to shut down Chouette without considering whether there are active jobs or not. Currently when importing several jobs at the same time and then shutting down, active jobs are "lost" and must be analysed and re-created manually.