aiozk
                                
                                 aiozk copied to clipboard
                                
                                    aiozk copied to clipboard
                            
                            
                            
                        In recipes - add option to create non-ephemeral or ephemeral nodes
Hello! Could We add option to create non-ephemeral or ephemeral nodes into Recipes(Lock, SharedLock)? Like in kazoo https://github.com/python-zk/kazoo/blob/master/kazoo/recipe/lock.py#LC129 I can do it
@nonspher I'm not against, but personally, I don't see too much sense in having non-ephemeral locks for most cases. For example, if some process just dies, you will have basically deadlock. From my point of view, it is better not to push bad design decisions. If someone needs it is really easy to subclass lock and make it explicit.
If you want to implement it, feel free to make PR + tests.