You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should definitely reset based on calls to /votes. Couple reasons:
If nobody is making calls to /votes, nobody is on the website voting and the robot shouldn't be doing anything. "If a tree falls in the forest..."
One should be able to work on the front-end without a real robot calling the endpoint
Avoids race conditions where the client and robot's polling is slightly out of sync. The votes endpoint will always have accurate information regardless of the behavior of the robot.
The text was updated successfully, but these errors were encountered:
#29 (comment)
The text was updated successfully, but these errors were encountered: