Code Monkey home page Code Monkey logo

Comments (7)

alexkornitzer avatar alexkornitzer commented on May 17, 2024 1

Ooo, looks like this might up pagination to the top of the priority list, need to make use of limit and skip, which has been on the list for a while, because returning all the samples the the front end is insane. Will have a look into this when I find some time.

from snake.

srcr avatar srcr commented on May 17, 2024

Quick fix, setting 64MB for sorting.

$ mongo localhost
> use admin
> db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes:67108864})

from snake.

srcr avatar srcr commented on May 17, 2024

Just an update from my end, currently I have 66,360 samples and the error is back.
So I've updated MongoDB to use 78Mb for sorting.

from snake.

alexkornitzer avatar alexkornitzer commented on May 17, 2024

Apologies, have been super busy and just not found time for this. Ill see if i can set some time aside this weekend.

from snake.

srcr avatar srcr commented on May 17, 2024

I wasn’t trying to pressure you. Apologies are not needed.

from snake.

alexkornitzer avatar alexkornitzer commented on May 17, 2024

Right finally found time and have a new laptop, so time to code :D

So pagination has been added to snake-core: WithSecureLabs/snake-core@14c7cf6
And I have added backend pagination support to snake-skin: WithSecureLabs/snake-skin@296420b

Not sure how you are deployed but would be great if you could test those to check that it solves the problem for you.

from snake.

srcr avatar srcr commented on May 17, 2024

Works like a charm on my end.

from snake.

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.