Skip to content

docs(api): list sleep as the only accepted crash policy - #5999

Closed
poojagosika wants to merge 1 commit into
rivet-dev:mainfrom
poojagosika:docs/crash-policy-sleep-only
Closed

poojagosika wants to merge 1 commit into
rivet-dev:mainfrom
poojagosika:docs/crash-policy-sleep-only

Conversation

@poojagosika

Copy link
Copy Markdown

Fixes #5993

The gateway rejects any rvt-crash-policy other than sleep (pegboard-gateway/src/routes.rs: "unsupported crash policy: {policy}, expected sleep"), but the routing and gateway docs listed restart and destroy as accepted values.

This updates actor-routing, gateway/call-action, gateway/health and gateway/metadata to say only sleep is accepted and that other values answer guard.query_invalid_params

The gateway rejects any rvt-crash-policy other than sleep, but the docs offered restart and destroy.
@MasterPtato

Copy link
Copy Markdown
Contributor

Will be included in a future release, thank you

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.

3.1.1: docs list crash policies restart and destroy, but the engine only accepts sleep, so actors lost with their node never restart by themselves

2 participants