mrrfv / cloudflare-gateway-pihole-scripts

Use Cloudflare Gateway DNS/VPN to block ads, malware and tracking domains - free alternative to NextDNS, Pi-hole and Adguard
MIT License
351 stars 988 forks source link

fix Cloudflare rate limiting #114

Closed FiorenMas closed 5 months ago

FiorenMas commented 5 months ago

Fix issue https://github.com/mrrfv/cloudflare-gateway-pihole-scripts/issues/111 Because the previous commit https://github.com/mrrfv/cloudflare-gateway-pihole-scripts/commit/a3ade648a49b5352a22f8e9069fe3b7596370645 caused the script to run too long due to a 4-second delay after each API request.

FiorenMas commented 5 months ago

Can you take a look at this PR and review it? @mrrfv

mrrfv commented 5 months ago

Looks good, I appreciate your help.