GithubHelp home page GithubHelp logo

Comments (14)

Hoverbear avatar Hoverbear commented on August 28, 2024 1

🤦‍♀️ Ha, I'm sorry. :)

from raft-rs.

siddontang avatar siddontang commented on August 28, 2024

Maybe adding a comment is better.

/cc @Hoverbear

from raft-rs.

Hoverbear avatar Hoverbear commented on August 28, 2024

@bkchr Would adding a comment about this limit be satisfactory? Since NoLimit == Fixed(u64::MAX)

from raft-rs.

bkchr avatar bkchr commented on August 28, 2024

Yeah I know that NoLimit == Fixed(u64::MAX) after looking into the code. I'm unsure. I think a comment would be a good start if you don't want to add an extra enum. However, adding an enum would be the cleaner solution in my point of view.

from raft-rs.

Hoverbear avatar Hoverbear commented on August 28, 2024

Perhaps Option<u64> is appropriate. A None value correctly communicates that The max size is none.

from raft-rs.

bkchr avatar bkchr commented on August 28, 2024

Yeah, an option would also fit here ;)

from raft-rs.

Hoverbear avatar Hoverbear commented on August 28, 2024

@bkchr Would you still be interested in making a PR, or is this open for others to tackle?

from raft-rs.

bkchr avatar bkchr commented on August 28, 2024

Open for others :)

from raft-rs.

estk avatar estk commented on August 28, 2024

Id like to work on this!

from raft-rs.

estk avatar estk commented on August 28, 2024

dang, too slow :/

from raft-rs.

pwoolcoc avatar pwoolcoc commented on August 28, 2024

sorry @estk, I should have commented when I started working on it :-/

if you are so inclined, I'd love some code review of my PR!

from raft-rs.

estk avatar estk commented on August 28, 2024

Sure thing @pwoolcoc, you're too quick on the draw :)

from raft-rs.

Hoverbear avatar Hoverbear commented on August 28, 2024

@estk Aw, thanks so much! Do you think you might be interested in this one instead? #70

from raft-rs.

estk avatar estk commented on August 28, 2024

@Hoverbear haha, you really gotta be quick here! Thanks for pointing that one out, but it looks like I'm too late again. I'll be away for the weekend but I'll swing back next week and try to pick up an issue. Thanks for the hospitality @Hoverbear

from raft-rs.

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.