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
@ -563,6 +563,10 @@ def update_config():
|
||||
)
|
||||
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
|
||||
update_metrics_job(force=True)
|
||||
logging.info("Forced metrics update after configuration change")
|
||||
|
Loading…
Reference in New Issue
Block a user