Giter Club home page Giter Club logo

Comments (3)

madsodgaard avatar madsodgaard commented on May 13, 2024

I am not sure if this is something I want to add to the template. It's a configuration issue, so it's up to the user to actually configure the refresh interval and the respective logging levels. I think we should leave it as is, and let the user decide whether to change it or not.

Also, this issue only occurs when you run the queues worker in process with your main Vapor application. Which is not recommended in production. So you can just comment out the startInProccessWorkers() call when debugging your application or alternatively changing the refresh interval.

from vapor-auth-template.

jhoughjr avatar jhoughjr commented on May 13, 2024

My opinion is there is absolutely nothing that indicates to someone that they need to configure the refresh interval.
Considering its sending emails and that is part of the templates advertised functionality it should do something other then thrash redis multiple times per second

Perhaps an assertion that it has been configured.
Or ar least mention of it in the docs.
Especially for the purpose of email verification 2 mins is a good balance of fast response with thrashing redis.

from vapor-auth-template.

jhoughjr avatar jhoughjr commented on May 13, 2024

I do wonder how the refresh interval would behave at scale. That could be a reason to poll faster.

from vapor-auth-template.

Related Issues (13)

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.