Skip to content

Commit 7aa7735

Browse files
authored
small doc tweaks
1 parent 391c37c commit 7aa7735

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/sphinx-guides/source/installation/config.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ Database Connection Recovery
966966
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
967967

968968
Consider the following scenario: if there is no advanced configuration for the database connection and the Dataverse server loses that connection, for example if the database host is down, the server will be "dead" even after the database server is back to normal.
969-
The only solution to recover Dataverse would be to restart the service and redeploy the application. To avoid this situation, the following settings can be used to configure validation of the database connection.
969+
The only solution to recover Dataverse would be to restart the service. To avoid this situation, the following settings can be used to configure validation of the database connection.
970970
This way, the database connection can be automatically recovered after a failure, improving the server availability. For a Docker installation, it is suggested to create an init.d script so that if the container needs to be recreated, these settings will always be configured.
971971

972972
.. code-block:: bash
@@ -975,9 +975,9 @@ This way, the database connection can be automatically recovered after a failure
975975
asadmin create-jvm-options "-Ddataverse.db.is-connection-validation-required=true"
976976
# Configure to use a database table as the validation method
977977
asadmin create-jvm-options "-Ddataverse.db.connection-validation-method=table"
978-
# Configure setting table to be used for connection validation, any of the tables available can also be used
978+
# Configure the "setting" table to be used for connection validation, but any tables can be used
979979
asadmin create-jvm-options "-Ddataverse.db.validation-table-name=setting"
980-
# Configure a validation period of 60 seconds, can be adjusted to a different value
980+
# Configure a validation period of 60 seconds, but different values may be used
981981
asadmin create-jvm-options "-Ddataverse.db.validate-atmost-once-period-in-seconds=60"
982982
983983
.. _file-storage:

0 commit comments

Comments
 (0)