Skip to content

Commit 2bc25d2

Browse files
committed
More configuration information
1 parent 7d344c7 commit 2bc25d2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/deployments/configuration.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ The port used to access the component server.
8686

8787
The port the Harper component server uses for HTTPS connections. This requires a valid certificate and key.
8888

89+
`http2` - _Type_: boolean; _Default_: false
90+
91+
Enables HTTP/2 for the HTTP server.
92+
8993
`timeout` - _Type_: integer; _Default_: Defaults to 120,000 milliseconds (2 minutes)
9094

9195
The length of time in milliseconds after which a request will timeout.
@@ -889,6 +893,18 @@ storage:
889893
pageSize: 4096
890894
```
891895

896+
`reclamation`
897+
898+
The reclamation section provides configuration for the reclamation process, which is responsible for reclaiming space when free space is low. For example:
899+
900+
```yaml
901+
storage:
902+
reclamation:
903+
threshold: 0.4 # Start storage reclamation efforts when free space has reached 40% of the volume space (default)
904+
interval: 1h # Reclamation will run every hour (default)
905+
evictionFactor: 100000 # A factor used to determine how much aggressively to evict cached entries (default)
906+
```
907+
892908
***
893909

894910
### `tls`

docs/developers/operations-api/clustering.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ _Operation is restricted to super\_user roles only_
1717
* authorization _(optional)_ - an object or a string which contains the authorization information for the node being added. If it is an object, it should contain `username` and `password` fields. If it is a string, it should use HTTP `Authorization` style credentials
1818
* retain_authorization _(optional)_ - a boolean which determines if the authorization credentials should be retained/stored and used everytime a connection is made to this node. If `true`, the authorization will be stored on the node record. Generally this should not be used, as mTLS/certificate based authorization is much more secure and safe, and avoids the need for storing credentials. Defaults to `false`.
1919
* revoked_certificates _(optional)_ - an array of revoked certificates serial numbers. If a certificate is revoked, it will not be accepted for any connections.
20+
* sharding _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
2021
* subscriptions _(optional)_ - The relationship created between nodes. If not provided a fully replicated cluster will be setup. Must be an object array and include `database`, `table`, `subscribe` and `publish`:
2122
* database - the database to replicate
2223
* table - the table to replicate
@@ -58,6 +59,7 @@ _Note: will attempt to add the node if it does not exist_
5859
* operation _(required)_ - must always be `update_node`
5960
* hostname _(required)_ - the `hostname` of the remote node you are updating
6061
* revoked_certificates _(optional)_ - an array of revoked certificates serial numbers. If a certificate is revoked, it will not be accepted for any connections.
62+
* sharding _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
6163
* subscriptions _(required)_ - The relationship created between nodes. Must be an object array and include `database`, `table`, `subscribe` and `publish`:
6264
* database - the database to replicate from
6365
* table - the table to replicate from

0 commit comments

Comments
 (0)