Coder Social home page Coder Social logo

Comments (4)

silas avatar silas commented on September 13, 2024

I pushed [email protected] which has lockwaittimeout, which uses a relative time. You should be able to set it to 5s or 5000. I decided to hold of on documenting it until I can rewrite all the consul.lock documentation.

from node-consul.

shlompy avatar shlompy commented on September 13, 2024

thanks!
I see the new 0.29 version in npm!
Much appreciated!

from node-consul.

grempe avatar grempe commented on September 13, 2024

I decided to hold of on documenting it until I can rewrite all the consul.lock documentation.

Updated docs that describe all of the lock features, and the interplay between them, would be most excellent for me right about now. 🥇

from node-consul.

silas avatar silas commented on September 13, 2024

Yeah, agreed. I'll probably end up renaming it to something like electLeader, which better describes what it actually does. In all honesty it's pretty hard to use correctly and I haven't been able to figure a better API. I'm definitely open to suggestions.

I've basically given up on using node/javascript for this type of stuff and stick with Go these days :/

from node-consul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.