message[MagickPathExtent];
const char
+ *hosts,
*type;
MagickBooleanType
}
}
}
- if (cache_info->type == DistributedCache)
+ status=AcquireMagickResource(DiskResource,cache_info->length);
+ hosts=GetImageRegistry(StringRegistryType,"cache:hosts",exception);
+ if ((status == MagickFalse) && (hosts != (const char *) NULL))
{
DistributeCacheInfo
*server_info;
/*
Create pixel cache on disk.
*/
- status=AcquireMagickResource(DiskResource,cache_info->length);
if (status == MagickFalse)
{
cache_info->type=UndefinedCache;