Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Fardale
ocluster
Commits
5da2ec93
Commit
5da2ec93
authored
Sep 28, 2021
by
Fardale
Browse files
fix containers update
parent
01b5b478
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dune
View file @
5da2ec93
...
...
@@ -15,7 +15,7 @@
(executable
(name ocluster)
(public_name ocluster)
(libraries containers containers
.
data atdgen lwt.unix lwt cmdliner logs.lwt
(libraries containers containers
-
data atdgen lwt.unix lwt cmdliner logs.lwt
logs.fmt logs.cli fmt.cli fmt.tty printbox str)
(preprocess
(pps lwt_ppx)))
src/node.ml
View file @
5da2ec93
...
...
@@ -151,7 +151,7 @@ let handle_computation sockaddr pass computation () =
|
Unix
.
ADDR_INET
(
a
,
_
)
->
Unix
.
ADDR_INET
(
a
,
computation
.
port
)
|
s
->
s
in
CCVector
.
filter
'
(
fun
(
c
:
computation
)
->
c
.
id
!=
computation
.
id
)
running_jobs
;
CCVector
.
filter
_in_place
(
fun
(
c
:
computation
)
->
c
.
id
!=
computation
.
id
)
running_jobs
;
send_result
sockaddr
pass
result
<&>
Logs_lwt
.
info
(
fun
m
->
m
"End computation %i,%i"
(
fst
computation
.
id
)
(
snd
computation
.
id
))
...
...
Write
Preview
Supports
Markdown
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