refactoring
This commit is contained in:
@@ -542,7 +542,11 @@ class RinCoinMiningPool(RinCoinStratumBase):
|
||||
stats_thread.start()
|
||||
|
||||
# Start web interface in background
|
||||
web_thread = threading.Thread(target=start_web_interface, args=(self.db, '0.0.0.0', 8083), daemon=True)
|
||||
web_thread = threading.Thread(target=start_web_interface,
|
||||
args=(self.db, '0.0.0.0', 8083,
|
||||
self.rpc_host, self.rpc_port,
|
||||
self.rpc_user, self.rpc_password),
|
||||
daemon=True)
|
||||
web_thread.start()
|
||||
|
||||
print(f"🌐 Web dashboard started on http://0.0.0.0:8083")
|
||||
|
Reference in New Issue
Block a user