Open rosshamish opened 11 years ago
Should teammates be added to the auto-updater too?
Should enemies be added? Should all players be added?
Choices:
Pros/Cons:
Option 1:
Pros:
Cons:
Option 2:
Pros:
Cons:
Option 3: Pros:
Cons:
Decision: None of the three.
Instead, grab only the one single game that was played with the extraneous player, and do not add them to the auto-update queue. This will require the SQL table to take on some sort of "update" boolean. This shouldn't be too hard to implement.
This will keep the database lean (ish), while also giving maximum value to players who actually use the site. Bingo. PHP: if ($row['update']) { update(); } else { noooooooo(); }
Just make a separate table, "update", and on form submit, add the summonerName to the table. Get auto.php files to look in the "update" table instead of getting distinct summonerName s from "games"