Use config db + allow setting for limiting on cache error
Update documentation