Skip to content

Conversation

probably-not
Copy link
Contributor

This solves a couple of minor fixes that were found by dialyzer as I was messing with #73.

  1. The 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.
  2. In FLAME.Pool.place_child/3, there was a match for an :ignore case coming back from FLAME.Runner.place_child/3. This case can't happen - FLAME.Runner.place_child/3 calls out to FLAME.Runner.call/4, which will either exit, or return the value of the call to FLAME.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.

@josevalim josevalim merged commit 146b934 into phoenixframework:main Jan 27, 2025
1 check passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants