Giter Site home page Giter Site logo

Crash on timeout about level-ttl HOT 3 CLOSED

level avatar level commented on May 23, 2024
Crash on timeout

from level-ttl.

Comments (3)

TehShrike avatar TehShrike commented on May 23, 2024

Yeah, @ArtskydJ and I ran into that issue as well. We weren't able to get level-ttl to work with sublevel.

Our fix at the time was to write tiny-level-ttl, which has a slightly different feature set, but is similar.

However, @rvagg recently published level-spaces, which returns a "real" LevelUP object instead of a dominictarr-flavored LevelUP copy, and (though I haven't used it yet) I would expect to play nicer with the LevelUP ecosystem. So you may want to consider using it instead of sublevel.

from level-ttl.

rvagg avatar rvagg commented on May 23, 2024

Yeah, this is a problem with level-sublevel which does a faux-levelup now. Note that level-ttl is now using level-spaces internally for this reason also so you could consider doing the same in your own code. My only word of caution is with nested namespaces and encodings, level-spaces may do double-encoding if you're storing json data in a namespace and then extending that namespace with another one. If you only have a single level of namespaces then it should be just fine.

from level-ttl.

iefserge avatar iefserge commented on May 23, 2024

@TehShrike @rvagg I'll check out level-spaces, thank you.

from level-ttl.

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.