instrumental_agent-ruby icon indicating copy to clipboard operation
instrumental_agent-ruby copied to clipboard

Shouldn't double send queued messages on fork

Open jason-o-matic opened this issue 8 years ago • 0 comments

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.

jason-o-matic avatar May 18 '16 20:05 jason-o-matic