berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 85 forks source link

Actor death breaks Ridley as an instance, Thread leak blocks instance re-creation #345

Open dannypurcell opened 8 years ago

dannypurcell commented 8 years ago

In the current state using Ridley like so

Celluloid.logger.level = 'fatal'
Celluloid.task_class = Celluloid::TaskThread
chef = Ridley.new(connection_params)

will quickly result in dead actor errors. The only work around for the dead actor errors seems to be creating a new Ridley instance. However, creating new Ridley instances runs in to the Celluloid thread leak as mentioned in https://github.com/berkshelf/ridley/issues/322

Is anyone still using this project? I can't seem to find a way in which Ridley can be used reliably.