This MR updates the warmer struct to support a name value, which can either be left nil and populated with the warmer pid, or an atom. As the incubator and informant services now look similar, I pulled the common logic for linking into the parent Cachex.Services. Due to warmers being either named or not, you can now use only to filter by module/name when warming the cache.
This fixes #334.
This MR updates the
warmer
struct to support aname
value, which can either be leftnil
and populated with the warmerpid
, or anatom
. As the incubator and informant services now look similar, I pulled the common logic for linking into the parentCachex.Services
. Due to warmers being either named or not, you can now useonly
to filter by module/name when warming the cache.