Giter Club home page Giter Club logo

Comments (4)

robiso avatar robiso commented on May 13, 2024 1

Your feedback/report is very much appreciated and I couldn't agree more. Not in any way saying this is your or the users fault, it's something that WonderCMS doesn't support and I haven't figured out how to prevent this in the demo yet, possibly with a solution explained below.

The demo is set to reset every 10 minutes, but there seems to be a glitch that prevents it from being reset when there are many users saving to the database (although WonderCMS is a single user CMS :).

I've moved the demo reset code check to run first, let's see if this solves it. Will keep an eye on the demo.

from wondercms.

robiso avatar robiso commented on May 13, 2024

@budmc29 thanks for reporting. I manually reset the demo a sec ago.

This happens when there are numerous users trying to save data on the demo and the database.js gets corrupted. WonderCMS is meant to be a single user CMS, so not sure how we'd go by to prevent this sort of issue.

// Closing for now, if there are any suggestions, please leave a comment.

from wondercms.

budmc29 avatar budmc29 commented on May 13, 2024

Okay, thanks.

I don't have any idea, but when I wanted to see the demo I was only interested in seeing how to use the website, and how the UI looked like, not really saving anything.
But I might be in minority.

Another option would be some sort of file locking, I would say that it's better for some users to get an error if a situation that might corrupt the data will happen, than nobody being able to use the demo at all?

from wondercms.

robiso avatar robiso commented on May 13, 2024

Just tested the above solution with a "corrupted" database. The demo now successfully resets in 10 minutes, if it's stuck in a loop like you reported.

Thanks again for reporting @budmc29! 🍺

from wondercms.

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.