Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VEBER Philippe
codepi
Commits
a7e25482
Commit
a7e25482
authored
Jan 18, 2019
by
Philippe Veber
Browse files
Debug: added console logger
parent
396a7ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/debug.ml
lib/debug.ml
+2
-1
No files found.
lib/debug.ml
View file @
a7e25482
...
...
@@ -5,7 +5,8 @@ open Bistro_engine
let
with_workflow
w
~
f
=
let
open
Scheduler
in
let
db
=
Db
.
init_exn
"_bistro"
in
let
sched
=
create
~
np
:
8
~
mem
:
(
`GB
8
)
db
in
let
loggers
=
[
Bistro_utils
.
Console_logger
.
create
()
]
in
let
sched
=
create
~
np
:
8
~
mem
:
(
`GB
8
)
~
loggers
db
in
let
thread
=
eval_exn
sched
w
in
start
sched
;
Lwt_main
.
run
thread
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment