add more sleep for ovh

This commit is contained in:
neilpang 2018-01-09 22:47:01 +08:00
parent f823f170e6
commit 01cc2e13d8

View File

@ -149,7 +149,8 @@ dns_ovh_add() {
if _contains "$response" "$txtvalue"; then if _contains "$response" "$txtvalue"; then
_ovh_rest POST "domain/zone/$_domain/refresh" _ovh_rest POST "domain/zone/$_domain/refresh"
_debug "Refresh:$response" _debug "Refresh:$response"
_info "Added" _info "Added, sleep 10 seconds."
_sleep 10
return 0 return 0
fi fi
fi fi