diff --git a/clore_hosting/main.py b/clore_hosting/main.py index 671dea5..5ef1d27 100644 --- a/clore_hosting/main.py +++ b/clore_hosting/main.py @@ -534,7 +534,7 @@ class CloreClient: await monitoring.put("background_pow_data_collection") if not self.dont_use_hive_binaries and self.is_hive: miner_config = await self.hive_miner_interface.export_miner_stats(get_hashrates=False) - if (miner_config["miner_uptime"]>0 and miner_config["miner_uptime"]<60) or self.next_pow_background_job_send_update > time.time(): + if (miner_config["miner_uptime"]>0 and miner_config["miner_uptime"]<60) or self.next_pow_background_job_send_update < time.time(): self.next_pow_background_job_send_update = time.time()+(5*60) current_statistics = await self.hive_miner_interface.export_miner_stats(get_hashrates=True) submit_result = await WebSocketClient.send({"submit_hashrates": current_statistics})