DOCS Optimisations#
Once the Docs and Editor is operational, some tweaking can be applied to its configuration to improve performances.
The remainder of this page contains a few tables that list the Key names and the default values of some Carbonio Docs configuration values that you can modify. You can take these tables into account in case you want to revert some values to their default after some unsatisfactory change.
How to Modify Values#
Values can be changed by using, from any Node, the Carbonio Mesh kv interface: you can access it using the consul command from the CLI.
-
To verify the current value of any key, use command
# consul kv get -token-file="$CONSUL_TOKEN_PATH" "$KEY"
-
To modify one of the values reported in the tables below, use command
# consul kv put -token-file="$CONSUL_TOKEN_PATH" "$KEY" "$VALUE"
In the commands, $CONSUL_TOKEN_PATH
is the Carbonio Mesh secret stored on
the Directory Service server, while $KEY
and $VALUE
are
the key name and the new value, respectively, as written in the
tables.
Hint
The Carbonio Mesh token can be retrieved using the procedure described in section Retrieve Token.
Configuration tables#
The following table is available to configure the maximum file size of documents that Carbonio Docs can manage and open.
The following values can be modified via the Carbonio Mesh interface (see Section Carbonio Mesh Administration Interface) or via the CLI, using the commands presented in the previous section.
Key name |
Default value |
---|---|
carbonio-docs-connector/max-file-size-in-mb/document |
50 |
carbonio-docs-connector/max-file-size-in-mb/presentation |
100 |
carbonio-docs-connector/max-file-size-in-mb/spreadsheet |
10 |
When changing any of this values, they are immediately picked up by the system, without the need to restart any services.