Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This solves a couple of minor fixes that were found by dialyzer as I was messing with #73.
File.stream!
call in code_sync.ex had its values out of order - the list of modes should be the last parameter of the call.FLAME.Pool.place_child/3
, there was a match for an:ignore
case coming back fromFLAME.Runner.place_child/3
. This case can't happen -FLAME.Runner.place_child/3
calls out toFLAME.Runner.call/4
, which will either exit, or return the value of the call toFLAME.Runner.remote_call/5
, which can only return{:ok, {result, pids}}
or{:exit, reason}
.This PR was branched out from my fork which also includes the change from #73, which is why the commit for setting the timeout is also included here.