mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Don't load plots that don't need to load
This commit is contained in:
parent
2d88a640cd
commit
70e5cf2a66
@ -47,8 +47,6 @@ class HarvesterAPI:
|
||||
self.harvester.log.warning("Not farming any plots on this harvester. Check your configuration.")
|
||||
return
|
||||
|
||||
self.harvester._state_changed("plots")
|
||||
|
||||
@peer_required
|
||||
@api_request
|
||||
async def new_signage_point_harvester(
|
||||
|
@ -67,8 +67,9 @@ class RpcServer:
|
||||
payload["data"]["success"] = True
|
||||
try:
|
||||
await self.websocket.send_str(dict_to_json_str(payload))
|
||||
except Exception as e:
|
||||
self.log.warning(f"Sending data failed. Exception {e}.")
|
||||
except Exception:
|
||||
tb = traceback.format_exc()
|
||||
self.log.warning(f"Sending data failed. Exception {tb}.")
|
||||
|
||||
def state_changed(self, *args):
|
||||
if self.websocket is None:
|
||||
|
Loading…
Reference in New Issue
Block a user