griffithlab / civicpy

A python interface for the CIViC db application
MIT License
8 stars 5 forks source link

update_cache and load_cache behavior #59

Closed ahwagner closed 4 years ago

ahwagner commented 4 years ago

Reviewer suggests:

In some cases it may be desirable to force a cache refresh but if your server is down, then sticking with the local cache would be better than a failure. Is it possible to request a cache refresh that would return a server down result without destroying the current cache so it could be used as a fall back?

We should implement as suggested.