From fde834ad02a1e77ad3d46d2d5ef9c38f644255fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Tue, 19 Sep 2023 12:09:27 +0200 Subject: [PATCH] Initialize rng --- bin/builder_web_app.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/builder_web_app.ml b/bin/builder_web_app.ml index 8de60e1..3fe65fa 100644 --- a/bin/builder_web_app.ml +++ b/bin/builder_web_app.ml @@ -120,6 +120,7 @@ let setup_app level influx port host datadir cachedir configdir run_batch_viz_fl cachedir |> Option.fold ~none:Fpath.(datadir / "_cache") ~some:Fpath.v in let configdir = Fpath.v configdir in + let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna) in let () = init_influx "builder-web" influx in let () = if run_batch_viz_flag then