From 3a0aba7b2f0145a1ba68af28b2a9653c7fef62b1 Mon Sep 17 00:00:00 2001 From: nova Date: Sun, 31 May 2020 06:51:18 +0000 Subject: [PATCH] --- Configuration.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Configuration.md diff --git a/Configuration.md b/Configuration.md new file mode 100644 index 0000000..839894b --- /dev/null +++ b/Configuration.md @@ -0,0 +1,16 @@ +# Configuration + +Following is a list of all the available configuration properties. + +You must place these config paramaters in an application.properties in the same directory as the jar file in this form - +```properties +chatto.token.timeout-duration=30 +``` + +## Properties + +| Name | Description | Possible values | Default | +|--------------------------------|----------------------------------------------------------|--------------------------------------|-------------------------------------------| +| chatto.token.timeout-duration | The amount of time the authorization token will be valid | Number > 0 | 30 | +| chatto.frontend.loglevel | The log level for the js frontend | ERROR, WARN, INFO,
DEBUG, TRACE | TRACE in dev mode,
INFO in production | +| chatto.frontend.chat-page-size | The pagination amount of the chat area messages | Number > 0 | 9 |