Daily updates from Odoo
Tuesday, April 28, 2020
1 change · master
Code cleanup and technical improvements
The IoT local network scan has been reorganized to make it easier to maintain and more reliable. Device discovery can now run more requests in parallel for faster scans, and users can enter a single IP address instead of scanning a full range.
Original PR description
Cleaning - Code was complicated to understand, split in 3 different widgets - Part of the code and templates was a wizard, the other part was JS Performance - We thought that the browser limited us to 6 HTTP connections in parallel. This limit only applies to connections to the same domain. We can increase the number of requests done in parallel to speed up the scan. We cannot perform all requests at the same time because the browser has troubles processing the responses and valid answers timeout. Improvements - Add the possibility to enter a single IP instead of a full range