diff --git a/spiceaidocs/docs/data-accelerators/index.md b/spiceaidocs/docs/data-accelerators/index.md index 95303af9a..a073d2407 100644 --- a/spiceaidocs/docs/data-accelerators/index.md +++ b/spiceaidocs/docs/data-accelerators/index.md @@ -48,7 +48,7 @@ datasets: acceleration: enabled: true refresh_mode: full - refresh_interval: 10m + refresh_check_interval: 10m refresh_sql: | SELECT * FROM accelerated_dataset WHERE city = 'Seattle' ``` diff --git a/spiceaidocs/docs/deployment/kubernetes/index.md b/spiceaidocs/docs/deployment/kubernetes/index.md index 59921fc3e..894cdb435 100644 --- a/spiceaidocs/docs/deployment/kubernetes/index.md +++ b/spiceaidocs/docs/deployment/kubernetes/index.md @@ -124,6 +124,6 @@ spicepod: acceleration: enabled: true # Uncomment to refresh the acceleration on a schedule - # refresh_interval: 1h + # refresh_check_interval: 1h # refresh_mode: full ``` \ No newline at end of file diff --git a/spiceaidocs/docs/local-acceleration/index.md b/spiceaidocs/docs/local-acceleration/index.md index 4ba049442..c50baaaaf 100644 --- a/spiceaidocs/docs/local-acceleration/index.md +++ b/spiceaidocs/docs/local-acceleration/index.md @@ -29,7 +29,7 @@ Dataset acceleration can be configured in `full` (the entire dataset is refreshe ## Refresh Interval -For accelerated datasets in `full` mode, the [`refresh_interval`](/reference/spicepod/datasets#accelerationrefresh_interval) parameter controls how often the accelerated dataset is refreshed. +For accelerated datasets in `full` mode, the [`refresh_check_interval`](/reference/spicepod/datasets#accelerationrefresh_check_interval) parameter controls how often the accelerated dataset is refreshed. Accelerated datasets can also be refreshed on-demand via the `refresh` CLI command or `POST /v1/datasets/:name/refresh` API endpoint. @@ -69,7 +69,7 @@ datasets: acceleration: enabled: true refresh_mode: full - refresh_interval: 10s + refresh_check_interval: 10s ``` - The dataset `eth.recent_blocks` will be accelerated locally by the Spice runtime. The data will be refreshed every 10 seconds. diff --git a/spiceaidocs/docs/reference/spicepod/datasets.md b/spiceaidocs/docs/reference/spicepod/datasets.md index f4f7eed70..364eb5a55 100644 --- a/spiceaidocs/docs/reference/spicepod/datasets.md +++ b/spiceaidocs/docs/reference/spicepod/datasets.md @@ -20,7 +20,7 @@ datasets: enabled: true mode: memory # / file engine: arrow # / duckdb / sqlite / postgres - refresh_interval: 1h + refresh_check_interval: 1h refresh_mode: full / append # update / incremental ``` @@ -36,7 +36,7 @@ datasets: enabled: true mode: memory # / file engine: arrow # / duckdb - refresh_interval: 1h + refresh_check_interval: 1h refresh_mode: full / append # update / incremental ``` @@ -141,9 +141,9 @@ Optional. How to refresh the dataset. The following values are supported: - `full` - Refresh the entire dataset. - `append` - Append new data to the dataset. -## `acceleration.refresh_interval` +## `acceleration.refresh_check_interval` -Optional. How often data should be refreshed. Only supported for `full` refresh_mode datasets. For `append` datasets, the refresh interval not used. +Optional. How often data should be refreshed. Only supported for `full` refresh_mode datasets. For `append` datasets, the refresh check interval not used. See [Duration](../duration/index.md) diff --git a/spiceaidocs/docs/reference/spicepod/index.md b/spiceaidocs/docs/reference/spicepod/index.md index 9a25dce20..d79c29026 100644 --- a/spiceaidocs/docs/reference/spicepod/index.md +++ b/spiceaidocs/docs/reference/spicepod/index.md @@ -80,7 +80,7 @@ datasets: acceleration: enabled: true refresh_mode: full - refresh_interval: 1h + refresh_check_interval: 1h ``` ## `models`