Closed MassiGy closed 2 years ago
I think this sounds like a great idea- I like the idea of using the setInterval
API, do you think that would lead to too much slowdown of the server?
Yeah I was worrying about that, but it wont !
Let me explain why :
That are my current thoughts on the subject. let me know what you think
Thanks in advance ! Massiles.
Hey @MassiGy-
This sounds great- I can't wait to see what you come up with!
Thanks, William McGonagle
Hey @William-McGonagle,
Thanks for the feedback, and your thoughts on this one !
I will eventually start coding this system, in the up coming days.
Thanks again ! Massiles.
Using setInterval
for something like this is a terrible idea. If the process is restarted, all intervals will be cleared.
Hey @supernova350,
Thanks for contributing on this, I really appreciate it.
Yeah, your point of view is totally right, and I saw that you've suggested to use an npm package for the scheduling part of the system. I think that it will be a very good idea.
Please feel free to suggest your idea, or directly by code.
Thanks again. Massiles.
hey @William-McGonagle,
I think after merging my PR, you can close this one.
Massiles.
Idea
Since, we've created the email verification system, and it appears to be working, we need to create a system that will delete all the user records in our database with the
email_confirmed
attribute set tofalse
for the past 30 days or so !Basically, we need to get rid of the user's accounts that did not confirmed their email addresses a while ago , because they are considered inactive.
Why should we implement this system
Let me know your thoughts guys, and feel free to suggest and discuss down below !
Hope that is clear ! Massiles.
Todo
setInterval
Time Api function )