clore-rentals #1

Merged
clore merged 11 commits from clore-rentals into main 2025-09-09 12:10:06 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit de683b989e - Show all commits

View File

@ -249,6 +249,7 @@ async def hive_load_configs(default_power_limits, static_config):
fs_core_lock, fs_mem_lock = extract_last_setcore_setmem(wallet_conf_content)
for wallet_conf_line in wallet_conf_content.split('\n'):
wallet_conf_line = wallet_conf_line.strip()
logger.info(wallet_conf_line)
if wallet_conf_line[:1] != "#" and '=' in wallet_conf_line:
key, value = [wallet_conf_line.split('=', 1)[0], clean_config_value(wallet_conf_line.split('=', 1)[1])]
if key[-9:] == "_TEMPLATE":
@ -269,6 +270,8 @@ async def hive_load_configs(default_power_limits, static_config):
except (json.JSONDecodeError, TypeError, KeyError) as e:
pass
logger.info(clore_config);
if (not clore_miner_present or not clore_config) and parsed_static_config:
clore_miner_present = True
clore_config = parsed_static_config