A mystic.cache fails to cache when used in a parallel map ifcached=True, however succeeds if cached=False unless it's a dict_archive. This indicates that the in-memory cache is passed to the child process, but the in-memory cached results are not linked back to the main process. Which, makes sense, but maybe isn't what is expected. Is it reasonable to expect the in-memory cache in the main process to be able to fetch the results from the in-memory caches of the child processes?
A
mystic.cache
fails to cache when used in a parallel map ifcached=True
, however succeeds ifcached=False
unless it's adict_archive
. This indicates that the in-memory cache is passed to the child process, but the in-memory cached results are not linked back to the main process. Which, makes sense, but maybe isn't what is expected. Is it reasonable to expect the in-memory cache in the main process to be able to fetch the results from the in-memory caches of the child processes?Current behavior: