ocadotechnology / aimmo

A python-based multi-player online educational game for students to play in a class or club setting.
Other
116 stars 72 forks source link

Stop games on worksheet change / deletion #1785

Closed faucomte97 closed 1 year ago

faucomte97 commented 1 year ago

Task Description

Currently, when a teacher changes the worksheet of a game or deletes a game, the Game object keeps running (this is because we don't actually delete games in the DB for stats purposes, we just make them unavailable to the user) until the 1 hour timer runs out. This is inefficient and takes up the Agones resources for no reason. Instead, upon worksheet change & deletion, the game should immediately be marked as stopped in order to release the associated Agones resource.

Acceptance Criteria

Analytics Requirements