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

Preserve active games for longer #111

Open
jbowens opened this issue May 9, 2020 · 0 comments
Open

Preserve active games for longer #111

jbowens opened this issue May 9, 2020 · 0 comments

Comments

@jbowens
Copy link
Owner

jbowens commented May 9, 2020

Presently incomplete games are removed from memory after 72 hours and from disk after 24 hours: 7661089

The effect is that we only guarantee your uncompleted game will be around for 24, but if you're lucky and we don't redeploy it'll be around longer.

It'd nice to extend this to allow asynchronous game play over an extended period of time. We have an 'updated_at' field on games now, and that could be used to preserve games for longer. We probably would need to rework the kv keyspace, because right now games' keys are prefixed with their created at time to allow for efficient deletes of expired games.

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

No branches or pull requests

1 participant