Princeton-LSI-ResearchComputing / tracebase

Mouse Metabolite Tracing Data Repository for the Rabinowitz Lab
MIT License
4 stars 1 forks source link

Disable caching during maintained field rebuild #987

Closed hepcat72 closed 3 months ago

hepcat72 commented 4 months ago

Summary Change Description

Disable caching during maintained field rebuild. Also clears all cache after a rebuild.

I used this branch to fix stale maintained fields on dev in 4 minutes. Before this change, the script ran all day and everything rolled back when my GlobalProtect session went stale. The maintained field values had somehow gotten cleared out when we were mucking with the database manually a few days ago, and this fixed them all (6,310 field values).

Affected Issues/Pull Requests

Review Notes

See comments in-line.

Checklist

This pull request will be merged once the following requirements are met. The author and/or reviewers should uncheck any unmet requirements: