-
Notifications
You must be signed in to change notification settings - Fork 2
Modify database structure to allow reviews with minimal information #163
Comments
Well... we only have the number of deleted audits for a given review session (day). That said, the number is actually calculated by subtracting the number of logged reviews from the actual number reviews the user has completed; hacky, I know. |
So when you poll the /review page to get the current number of reviews for a person, and you see that the number is 40, what happens? Do you search the user profile again for any new reviews, parse those first, then notify the rest of the system to announce the results? If so, when that happens we can just write to the database that
If a record is missing, assume it means the same as |
Nothing. They've reached the limit so we assume they had no deleted audits.
Nope, SOCVR.Net doesn't do any of this deleted audit processing and thus has no related events. So... there isn't actually a nice way of logging this in an event-based way. |
I'm looking at the
This method is hooked up by
The way I understand this, the order of events are:
Does that sound correct? |
Yep. |
Ok, so how about this: We keep the method (as in, we still call that method when you hit max items). However, instead of printing to chat, we do the following:
That way, the User Tracker doesn't need to print stuff to the chat room (its job is to track stuff, not presentation), and the database is the Single Source of Truth. This would take some restructuring so that we can nicely call a chatbot method (or at least tell the command engine to run a wanted command). |
Before we can have the User Watcher push deleted audits to the database, we need to set up the database to allow that information.
Depending on the information we are storing, I'll either make a new table for it or lessen the restrictions on the existing table.
However, the first thing we need is: @ArcticEcho, how much information do we have about deleted audits? Id numbers, dates, etc?
The text was updated successfully, but these errors were encountered: