Open linearray opened 8 years ago
I should add that this does of course still calculate the transfer speed within those ten seconds. It just doesn't necessarily download the whole file, which can take minutes and seems unnecessary.
i think 10 seconds may be way too low for many users. I know for some people with slower connections, many of the routes are slow, and they need the script to run for quite a while to get good results. (for those people, smaller test files may be a better answer, but I can only use what I'm given :)
thanks for your idea!
I'd support this idea using the max-time option for curl. Maybe set it to something a bit longer (e..g 30 seconds) or make it configurable.
This should also provide some pain relief for #8