Continue after reported solution

This commit is contained in:
Ulf Wiger 2025-05-23 15:30:28 +02:00
parent 4961fdfff4
commit 0e16b59647
2 changed files with 8 additions and 7 deletions

View File

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

View File

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