koop-retired / koop-server

PROJECT DEPRECATED - DO NOT USE
Apache License 2.0
5 stars 7 forks source link

lib/Exporter.js should use a persistent job queue for large datasets #30

Closed chelm closed 8 years ago

chelm commented 9 years ago

If a dataset is over 10k koop will process an export in 10k chunks from the DB. To do this is puts the dataset into a "processing" state and uses an in memory queue to process each page. this should change to use a persistent job queue so that if the server stops, pages are processed when the server starts back up.

This will solve the problem of datasets getting put into the "processing state" and never removed from that state.