Repository navigation
Added handling for cache not being accessible - #1764
Conversation
|
This broke the |
|
yeah we should not do this during parsing. |
|
Where would be the best place to do it? It feels like it needs to be done for every case where the cache would be accessed, the earlier in the process the better. Otherwise, in cases where there are a lot of dependencies there will be a slow call out to the network for every restore. What about an optional argument to |
|
I think it should be done differently. We "just" need to make the cache calls more robust. we should not filter them out. |
b17990d to
9da53ef
Compare
|
Pushed error handling. This resolves the issue, but there is now a pretty hefty speed penalty when the cache is not accessible. I think it would be better if there was a single check for cache accessibility, because as it stands now there are |
|
Maybe additionally we can now blacklist caches during the lifetime of one
|
|
Thanks! This is already a lot better. I am able to run |
Fixes #1758
I moved the directory creation to when the cache is loaded from the dependencies file. It tries to create the directory if it doesn't exist, and doesn't include the cache in the feed list or cache list if it fails.