seomoz / qless

Queue / Pipeline Management
MIT License
294 stars 76 forks source link

when waiting on childs, check that they were spawned by us before acting #253

Open erkki opened 8 years ago

erkki commented 8 years ago

This caused a curious case of forking a new worker any time something unrelated to the worker code (but originating in the same parent process) forked and exited.

There's still race conditions in the code (such as trying to maintain a worker pool and missing some process exits while checking on others) which should probably fixed in another diff.