Hello,
I need to insert a bunch of nodes into zookeeper in a cycle, but because this cookbook's lwrp will establish a new connection on each create action call zookeeper will eventually stop accepting new connections and reply something like this:
org.apache.zookeeper.server.NIOServerCnxn: Too many connections from /127.0.0.1 - max is 10
In order to solve it I added a new attribute :collection to create action which accepts a hash with keys for node names and creates or updates them using the same connection.
Please. either accept my pull request #132 or explain how this issue could be solved in a better way.
Hello, I need to insert a bunch of nodes into zookeeper in a cycle, but because this cookbook's lwrp will establish a new connection on each create action call zookeeper will eventually stop accepting new connections and reply something like this:
In order to solve it I added a new attribute :collection to create action which accepts a hash with keys for node names and creates or updates them using the same connection.
Please. either accept my pull request #132 or explain how this issue could be solved in a better way.
Thanks