Zeroconf offline-handling improvements (#77)

* Add benchmark.py

* Add cpu / disk benchmark APIs

* Add cpu_benchmark method to distributed_job_manager.py

* Do a better job of storing hostnames =

* Remove hostname from Zeroconf cache if server goes offline

* Add cpu / disk benchmark APIs

* Add cpu_benchmark method to distributed_job_manager.py

* Do a better job of storing hostnames =

* Remove hostname from Zeroconf cache if server goes offline

* Wrap main code in try finally block to always stop zeroconf

* Add missing import
This commit is contained in:
2024-02-12 14:57:00 -06:00
committed by GitHub
parent a31fe98964
commit ecf836c235
4 changed files with 50 additions and 36 deletions

View File

@@ -2,10 +2,9 @@ PyQt6>=6.6.1
psutil>=5.9.8
requests>=2.31.0
Pillow>=10.2.0
json2html>=1.3.0
PyYAML>=6.0.1
flask>=3.0.1
tqdm>=4.66.1
flask>=3.0.2
tqdm>=4.66.2
werkzeug>=3.0.1
Pypubsub>=4.0.3
zeroconf>=0.131.0
@@ -22,7 +21,6 @@ matplotlib>=3.8.2
MarkupSafe>=2.1.4
python-dateutil>=2.8.2
certifi>=2023.11.17
PySide6>=6.6.1
shiboken6>=6.6.1
Pygments>=2.17.2
cycler>=0.12.1
@@ -32,4 +30,7 @@ fonttools>=4.47.2
Jinja2>=3.1.3
pyparsing>=3.1.1
kiwisolver>=1.4.5
attrs>=23.2.0
attrs>=23.2.0
lxml>=5.1.0
click>=8.1.7
requests_toolbelt>=1.0.0