Closed xfnw closed 4 years ago
nah, the visitors.json is the source of truth for this, it is only consumed/cleared when the plant owner returns and opens the app (or leaves the app running, which I still don't recommend). the visitors being cleared is only done for the sql table (which is just a record). there is a bug here that you won't see someone visited you a bunch of times though :( but your plant will live :)
if the plant owner waters the plant, disappears for a week, and during that time someone else waters the plant every day, and then sunday rolls around, the visitors will be cleared and the plant will die if the owner comes back even though it has not been a week since the plant was last watered