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

Idempotency changes #1103

Merged

Conversation

Metritutus
Copy link
Collaborator

  • Added idempotent functionality to all unsafe HTTP method requests, to prevent requests like POST, PUT, etc from being actioned multiple times in instances where, say, the client may be retrying a request due to it not receiving feedback from the server due to connection issues (eg poor mobile signal, etc). This should fix instances where a player may accidentally buy multiple carriers where they only meant to buy one, or accidentally create two conversations with the same player, etc.
  • Updated carrier gift modal wording to make clear that the specialist will be retired if the destination star does not belong to an ally.
  • Updated express.ts to remove unnecessary setting of cors Access-Control-Allow-Headers (it was being replaced by the line directly below it anyway).

SpacialCircumstances and others added 4 commits July 15, 2024 23:35
Fix scheduled bulk upgrades checking for wrong tick
Fix to reevaluate scheduled actions even in ticks where none are active (Hotfix for 242)
…to prevent requests like POST, PUT, etc from being actioned multiple times in instances where, say, the client may be retrying a request due to it not receiving feedback from the server due to connection issues (eg poor mobile signal, etc). This should fix instances where a player may accidentally buy multiple carriers where they only meant to buy one, or accidentally create two conversations with the same player, etc.

* Updated carrier gift modal wording to make clear that the specialist will be retired if the destination star does not belong to an ally.
* Updated express.ts to remove unnecessary setting of cors Access-Control-Allow-Headers (it was being replaced by the line directly below it anyway).
@SpacialCircumstances SpacialCircumstances added this to the Update 243 milestone Jul 22, 2024
@SpacialCircumstances SpacialCircumstances changed the base branch from master to dev July 22, 2024 17:59
@SpacialCircumstances SpacialCircumstances merged commit 26aea18 into solaris-games:dev Jul 22, 2024
1 check passed
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.

2 participants