mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update App.py
This commit is contained in:
parent
f812a41bca
commit
9988913861
4
App.py
4
App.py
@ -562,6 +562,10 @@ def update_config():
|
|||||||
new_config.get("wallet")
|
new_config.get("wallet")
|
||||||
)
|
)
|
||||||
logging.info(f"Dashboard service reinitialized with new wallet: {new_config.get('wallet')}")
|
logging.info(f"Dashboard service reinitialized with new wallet: {new_config.get('wallet')}")
|
||||||
|
|
||||||
|
# Update worker service to use the new dashboard service (with the updated wallet)
|
||||||
|
worker_service.set_dashboard_service(dashboard_service)
|
||||||
|
logging.info(f"Worker service updated with the new dashboard service")
|
||||||
|
|
||||||
# Force a metrics update to reflect the new configuration
|
# Force a metrics update to reflect the new configuration
|
||||||
update_metrics_job(force=True)
|
update_metrics_job(force=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user