XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
19 stars 33 forks source link

Remove `resource_cache` on dali #1362

Closed dachengx closed 2 months ago

dachengx commented 3 months ago

At https://github.com/XENONnT/straxen/blob/e7d95878b091ebe0a6d80732b256ba677c7a6ba1/straxen/common.py#L264 and https://github.com/XENONnT/straxen/blob/e7d95878b091ebe0a6d80732b256ba677c7a6ba1/straxen/storage/mongo_storage.py#L264 we stored resource_cache files on /dali. But sometimes /dali is not accessible because /dali and /project(2) are decoupled. I am wondering if we can remove the resource_cache on dali.

yuema137 commented 2 months ago

I think letting users store the resource_cache under their local folders doesn't harm, as the size of those caches is not terrible. So, should we just remove the dali path from the list?

dachengx commented 2 months ago

I think letting users store the resource_cache under their local folders doesn't harm, as the size of those caches is not terrible. So, should we just remove the dali path from the list?

Yes, that is what I meant.

yuema137 commented 2 months ago

done in #1372