create from state in series, not parallel to avoid communication mishappenings

the socket lock was removed in 58c34907 in favour of a global lock -- but the
bootup used an iter_p for create (which is usually called with the lock being
held by the caller)
This commit is contained in:
Hannes Mehnert 2019-11-09 21:29:05 +01:00
parent bcb3efcb23
commit b1272a75ec

View file

@ -186,7 +186,7 @@ let jump _ influx =
| Some s -> write_reply "stat" s txt wire >|= fun _ -> ()
in
Lwt_list.iter_p (fun (name, config) ->
Lwt_list.iter_s (fun (name, config) ->
create stat_out log_out cons_out stub_data_out stub_hdr name config)
(Vmm_trie.all old_unikernels) >>= fun () ->