Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache tournament game log as JSON #131

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JustinR17
Copy link
Collaborator

PR rewrites the logic for storing and retrieving game log data. Instead of caching data as HTML in the tournament model, the data is converted into JSON where it can be transpiled to HTML without additional DB call overhead.

Tested manually with each tournament type and everything appears to work correctly.

Creating PR leagues appears to be bugged and does not allow you to edit upon creating a new league. Need to investigate this more before merging the pull request.

@JustinR17 JustinR17 marked this pull request as ready for review April 3, 2022 21:25
@JustinR17
Copy link
Collaborator Author

Newest commit adds a new job to the update_player thread to reset the tournament game_log fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant