Currently inherit_resources cannot work properly in production mode.