This commit is contained in:
parent
2864439108
commit
19e456639b
1 changed files with 1 additions and 12 deletions
13
src/mte.ml
13
src/mte.ml
|
|
@ -93,17 +93,6 @@ let () =
|
|||
let env = Env.{ sw; stack; tcp; dns; fs } in
|
||||
let devices = Vifu.Devices.[ Global.db_conn; Global.keys ] in
|
||||
let cfg = Vifu.Config.v Config.Exchange.port in
|
||||
Vifu.run ~cfg ~devices tcp routes env
|
||||
|
||||
(*
|
||||
Miou_unix.run @@ fun () ->
|
||||
Caqti_miou.Switch.run @@ fun caqti_switch ->
|
||||
let env : Devices.env =
|
||||
{ caqti_switch; db_uri= Config.Exchangedb_postgres.config }
|
||||
in
|
||||
let devices = Vifu.Devices.[ Devices.db_connection; Devices.keys ] in
|
||||
let middlewares = Vifu.Middlewares.[] in
|
||||
Logs.info (fun m ->
|
||||
m ~tags:(Util.Log_reporter.detail "...") "Starting MTE server");
|
||||
Vifu.run ~cfg ~devices ~middlewares routes env
|
||||
*)
|
||||
Vifu.run ~cfg ~devices tcp routes env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue