add retire limit config