uw-miner-config #4

Merged
uwiger merged 10 commits from uw-miner-config into master 2025-05-28 01:56:38 +09:00
2 changed files with 8 additions and 7 deletions
Showing only changes of commit 0e16b59647 - Show all commits

View File

@ -3,9 +3,9 @@
, pool => #{id => <<"ct_26xqeE3YKmZV8jrks57JSgZRCHSuG4RGzpnvdz6AAiSSTVbJRM">>,
host => <<"127.0.0.1">>}
, workers =>
[#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"gmcuckoo">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"gmcuckoo">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"gmcuckoo">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"gmcuckoo">>}
[#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"cpu">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"cpu">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"cpu">>}
,#{executable => <<"mean15-generic">>, <<"executable_group">> => <<"cpu">>}
]
}.

View File

@ -246,9 +246,10 @@ handle_worker_result(Error, W, S) ->
report_solutions_(Solutions, W, S) ->
case report_solutions(Solutions, W, S) of
ok ->
Ws = reset_worker(W, S#st.workers),
Ws1 = stop_workers(Ws),
{stopped, S#st{workers = Ws1}};
%% Ws = reset_worker(W, S#st.workers),
%% Ws1 = stop_workers(Ws),
%% {stopped, S#st{workers = Ws1}};
{continue, S};
continue ->
{continue, S};
{error, _} ->