- Improve speed testing with using 2 threads, one to saturate connection with speedtest.net and another to get rates from router's API

- Logging fix dual entries
This commit is contained in:
Nix
2020-06-25 15:50:57 +03:00
parent e3b07d0947
commit 5191643ac6
6 changed files with 175 additions and 37 deletions
+3
View File
@@ -13,6 +13,9 @@ ros_minimum_speed: 300000
# starts to show high CPU usage at close to 20mbit.
# Not implemented yet
ros_maximum_speed: 15000000 # 15 mbit
ros_wan_interface: lte1
api_host: 0.0.0.0
api_port: 1357
# Conversion rate 1 mbit : 1000000 bits
+2 -2
View File
@@ -23,9 +23,9 @@ handlers:
root:
level: ERROR
handlers: [debug_file_handler]
handlers: [console]
loggers:
"default":
level: DEBUG
handlers: [debug_file_handler, console]
handlers: [debug_file_handler]