REDIT should put Room ID in webSocketContext #418
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
java
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
agony-forge/agonyforge#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The room editor puts the entire room object in the webSocketContext, which is an artifact left over from when the game was backed with DynamoDB. Now with Hibernate this can result in stale entities. Instead, the room ID should be stored in the context and the room fetched fresh each time the code runs so that it stays in the correct transaction.