instrumental_agent-ruby
instrumental_agent-ruby copied to clipboard
Shouldn't double send queued messages on fork
I pushed up a failing test in the fork_double_send branch.
@queue
doesn't get re-initialized on fork currently. It's not as easy as switching ||=
to =
though, because we want to keep the queue if the worker thread dies for any other reason than fork
.