Skip to content

Commit

Permalink
fix(ccp-config): use "./state" as default state path (#845)
Browse files Browse the repository at this point in the history
* fix(ccp-config): use "./state" as default state path

* Apply automatic changes

---------

Co-authored-by: folex <[email protected]>
  • Loading branch information
folex and folex authored Mar 10, 2024
1 parent 9a4d679 commit ea4a180
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/configs/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ State configuration

#### Properties

| Property | Type | Required | Description |
|----------|--------|----------|------------------------------------------------|
| `path` | string | No | Path to the state file. Default: /fluence/data |
| Property | Type | Required | Description |
|----------|--------|----------|------------------------------------------|
| `path` | string | No | Path to the state file. Default: ./state |

## computePeers

Expand Down Expand Up @@ -170,9 +170,9 @@ State configuration

###### Properties

| Property | Type | Required | Description |
|----------|--------|----------|------------------------------------------------|
| `path` | string | No | Path to the state file. Default: /fluence/data |
| Property | Type | Required | Description |
|----------|--------|----------|------------------------------------------|
| `path` | string | No | Path to the state file. Default: ./state |

#### nox

Expand Down
2 changes: 1 addition & 1 deletion src/lib/configs/project/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ const DEFAULT_PROMETHEUS_ENDPOINT_HOST = "0.0.0.0";
const DEFAULT_PROMETHEUS_ENDPOINT_PORT = 9384;
const DEFAULT_REPORT_HASHRATE = false;
const DEFAULT_LOG_LEVEL = "info";
const DEFAULT_STATE_PATH = "/fluence/data";
const DEFAULT_STATE_PATH = "./state";
const DEFAULT_UTILITY_THREAD_IDS = [1];

const ccpConfigYAMLSchemaV1 = {
Expand Down

0 comments on commit ea4a180

Please sign in to comment.