Open maartenJacobs opened 1 year ago
Hi @maartenJacobs the NimblePool implementation has no child spec, the Poolboy implementation has it, so the README is wrong. I’ll look into it however would suggest using Poolboy for now.
@maartenJacobs Please test feature/pool-test latest @ f81bb829395e0a0a36281f8c7e48de13186f5ced and advise, reference the relevant test files for example use cases.
@evadne I think you should write @maartenJacobs a cheque for £1 ;-)
Yes comparing you to Knuth - the reference https://en.wikipedia.org/wiki/Knuth_reward_check
@maartenJacobs Please test feature/pool-test latest @ f81bb82 and advise, reference the relevant test files for example use cases.
@evadne @ [f81bb82] works as expected 🙌 The pool size default works as well.
The pool size default works as well.
@maartenJacobs will we be using a pool size of 2 ;-)
The README states that the following should work:
But
Supervisor
runschild_spec/1
on its children, giving me this error:I'm happy to provide a PR. I think there are at least possible 2 solutions:
Pool
behaviour requireschild_spec/1
.