Reduce queries and also added Indentation#17
Reduce queries and also added Indentation#17MAVRICK-1 wants to merge 5 commits intoInternetHealthReport:masterfrom
Conversation
Updated the version from 1.2 to 1.3
Reduced the queries
|
@romain-fontugne sir ,review my changes when you got time :-) |
|
Thanks this is good, but it will break if the user gives too many ASes. If the URL is too long it will fail. |
@romain-fontugne When executing multiple queries, it may consume time. In such cases, opting for maximum Autonomous System Numbers (ASes) could be beneficial. If the limit is reached, the system can then proceed to query the remainder of the list. As for determining the limit |
|
and can you clarify this also #3 (comment) so that I can solve this also |
With these modifications, the get_results method will make a single query to the API with lists of originasns and asns, instead of multiple queries for each combination. It will also appropriately handle caching of results. And also added Indentation to Output and Json file
This Solves #7
Snippet Of Ouput
hegemony.py
link_delay.py
@romain-fontugne @m-appel can you review my PR :-)