unepwcmc/SAPI — pull request #106 by agnessa (2013-11-05 16:58:27+00:00)
Title: Hotfix 0.3.2

So apparently I branched the hotfix branch off develop instead of master, which is why it includes some great features unrelated to the bug I was trying to fix :>

It seems that 3 features made it in:
-> adding importer, exporter and reporter_type to shipments (accepted story)
-> resetting sandbox selection on save changes (amendment to a previously accepted story, suggested by Patricia)
-> saving reported species name (this one needs `rake db:migrate` & `rake db:drop_sandboxes`)

Other than that it contains a couple of changes to fix the csv cache problems:
-> added observers to suspensions, quotas and decisions, which clear respective cache on destroy + specs
-> added a "clear" task before the overnight downloads generation, to make sure old stuff is never served
-> redirected cron job output to a log file
-> added downloads generation elapsed time to log output

When doing that I found that apparently the Checklist JSON downloads throw an out of memory error on staging... Hopefully not on production.