Merge pull request #5187 from rwese/improve-dns_anx-performance

improve performance and memory usage for dns_anx
This commit is contained in:
neil authored and GitHub committed 2024-09-13 14:22:01 +02:00
commit fc4dba4468
1 file changed
+1 -2
+1 -2
View File
@@ -130,8 +130,6 @@ _get_root() {
i=1
p=1
_anx_rest GET "zone.json"
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
_debug h "$h"
@@ -140,6 +138,7 @@ _get_root() {
return 1
fi
_anx_rest GET "zone.json/${h}"
if _contains "$response" "\"name\":\"$h\""; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain=$h
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.