Update to handling inf for values like MAX_CACHE_SIZE