-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant call getAllNetworks() ... why ? #1596
Comments
getAllNetworks will be called in getChildWithDefault on each request. You can think about to improve this if you like. |
and what about call getAdapterAttribute with 'webif=True' and then there in e2 could be print limited for webif=False only ... |
This will only hide the root cause and this is very bad programming style. |
By the way. e2openplugin-OpenWebif/plugin/httpserver.py Lines 346 to 347 in d9d763b
|
And ? I must enable auth in local network to disable this and then fill it for all boxes on all PCs ? |
Yes, everyone should use the password for the user root, and should not operate the boxes without a password in his network, even if it is in the internal network. You don't have set permissions to connect to your pcs and other devices? |
That is for everybody to decide, and not an excuse for bad programming (either here or in E2). |
Why is there in Owif called in httpserver.py getAllNetworks() each 15second and always, when is used any item in Owif?
F.eg press Edit Bouquet means 5times call, Autotimer cca 4times.
There is then called getAdapterAttribute twice. E2 has there in getAdapterAttribute debug message - then it is displayed in debug log and is difficult anything debuging, when there is list still moved with this messages ... Why it must be checked each 15 seconds and on each controll item ?
The text was updated successfully, but these errors were encountered: