@Override
    protected void doRetry(final String key, final TimerTask timerTask) {
        this.registerRepository.accept(key);
        //Because accept requires an exception to be thrown. Only normal can remove.
        this.registerRepository.remove(key);
    }
Do retry.

@param key       the key
@param timerTask the timer task
shenyu-register-center/shenyu-register-client/shenyu-register-client-api/src/main/java/org/apache/shenyu/register/client/api/retry/FailureRegistryTask.java