Webperf-se / webperf_core

webperf-core is an open-source testing suite tailored to help you improve your digital presence in areas like web performance, security and accessibility to email best practice using many small improvements.
https://webperf.se/articles/webperf-core/
MIT License
19 stars 31 forks source link

Set custom timeout for http_validator #121

Closed marcusosterberg closed 3 months ago

marcusosterberg commented 2 years ago

https://github.com/Webperf-se/webperf_core/blob/9ed002b276f01b4fd19dce3b5e95cb2aad59ed62/tests/http_validator.py#L356

Suggesting: dns_record = dns.resolver.query(hostname, record_type, timeout = 30)

Perhaps to reuse some timeout value already set in the config file.

marcusosterberg commented 2 years ago

Tried the suggested code on my really slow 4G connection but it still cannot do the test. Now it's complaining about InsecureRequestWarning instead.

Ideas?

7h3Rabbit commented 2 years ago

@marcusosterberg can you please describe more about your problem? maybe some screenshot of your test and expected results

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 730 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.