Skip to content

Commit

Permalink
Update schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Aug 23, 2023
1 parent 0bd1678 commit d90ff2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/references/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Make sure, when updating a service endpoint, to assign it a new uri.

You can force the override using the `"force": true` field in the discover request, but beware that this can lead in-flight invocations to an unrecoverable error state.

See the [versioning documentation](http://docs.restate.dev/deployment-operations/versioning) for more information.
See the [versioning documentation](https://docs.restate.dev/services/upgrades-removal) for more information.

## META0005 {#META0005}

Expand All @@ -89,7 +89,7 @@ When implementing a new service revision, make sure that:
* The service instance type and the key definition, if any, is exactly the same as of the previous revisions.
* The Protobuf contract and message definitions are backward compatible.

See the [versioning documentation](http://docs.restate.dev/deployment-operations/versioning) for more information.
See the [versioning documentation](https://docs.restate.dev/services/upgrades-removal) for more information.

## RT0001 {#RT0001}

Expand All @@ -105,7 +105,7 @@ Suggestions:

Cannot start Restate because the configuration cannot be parsed. Check the configuration file and the environment variables provided.

For a complete list of configuration options, and a sample configuration, check http://docs.restate.dev/deployment-operations/configuration
For a complete list of configuration options, and a sample configuration, check https://docs.restate.dev/restate/configuration

## RT0003 {#RT0003}

Expand Down
12 changes: 6 additions & 6 deletions static/schemas/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"max_interval": "10s",
"type": "Exponential"
},
"tmp_dir": "/var/folders/tw/68_ctnh50rn41q721zt5pwfc0000gn/T/invoker-0189d175ff3e7087ada868460b8e75db"
"tmp_dir": "/tmp/invoker-018a22ade7907754a1d9efcf97fb2e4c"
},
"partitions": 1024,
"storage_query": {
Expand Down Expand Up @@ -307,7 +307,7 @@
"max_interval": "10s",
"type": "Exponential"
},
"tmp_dir": "/var/folders/tw/68_ctnh50rn41q721zt5pwfc0000gn/T/invoker-0189d175ff3e704fb5ecfdca68505c8e"
"tmp_dir": "/tmp/invoker-018a22ade7907469a8ef400edc0b101e"
},
"$ref": "#/definitions/InvokerOptions"
},
Expand All @@ -316,7 +316,7 @@
"description": "Number of partitions to be used to process messages.\n\nNote: This config entry **will be removed** in future Restate releases, as the partitions number will be dynamically configured depending on the load.",
"default": 1024,
"type": "integer",
"format": "uint32",
"format": "uint64",
"minimum": 0.0
}
}
Expand Down Expand Up @@ -511,13 +511,13 @@
},
"inactivity_timeout": {
"title": "Inactivity timeout",
"description": "This timer is used to gracefully shutdown a bidirectional stream after inactivity on both request and response streams.\n\nWhen this timer is fired, the invocation will be closed gracefully by closing the request stream, triggering a suspension on the sdk, in case the sdk is waiting on a completion. This won't affect the response stream.\n\nCan be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.",
"description": "This timer guards against stalled service/handler invocations. Once it expires, Restate triggers a graceful termination by asking the service invocation to suspend (which preserves intermediate progress).\n\nThe 'abort timeout' is used to abort the invocation, in case it doesn't react to the request to suspend.\n\nCan be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.",
"default": "1m",
"type": "string"
},
"abort_timeout": {
"title": "Abort timeout",
"description": "This timer is used to forcefully shutdown an invocation when only the response stream is open.\n\nWhen protocol mode is `restate_service_metadata::ProtocolType::RequestResponse`, this timer will start as soon as the replay of the journal is completed. When protocol mode is `restate_service_metadata::ProtocolType::BidiStream`, this timer will start after the request stream has been closed. Check `inactivity_timeout` to configure a timer on the request stream.\n\nWhen this timer is fired, the response stream will be aborted, potentially **interrupting** user code! If the user code needs longer to complete, then this value needs to be set accordingly.\n\nCan be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.",
"description": "This timer guards against stalled service/handler invocations that are supposed to terminate. The abort timeout is started after the 'inactivity timeout' has expired and the service/handler invocation has been asked to gracefully terminate. Once the timer expires, it will abort the service/handler invocation.\n\nThis timer potentially **interrupts** user code. If the user code needs longer to gracefully terminate, then this value needs to be set accordingly.\n\nCan be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format.",
"default": "1m",
"type": "string"
},
Expand Down Expand Up @@ -549,7 +549,7 @@
"tmp_dir": {
"title": "Temporary directory",
"description": "Temporary directory to use for the invoker temporary files. If empty, the system temporary directory will be used instead.",
"default": "/var/folders/tw/68_ctnh50rn41q721zt5pwfc0000gn/T/invoker-0189d175ff3e7e1cb10a99b29c51216c",
"default": "/tmp/invoker-018a22ade78f71aa9d6bd866dc6cf545",
"type": "string"
},
"concurrency_limit": {
Expand Down
Loading

0 comments on commit d90ff2c

Please sign in to comment.