From 20afcd2b633791c932651e04e340334dabb3ed4e Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Thu, 12 Oct 2023 23:13:50 +0200 Subject: Add commands to print the default configuration (#1241) * Add commands to print the default configuration When updating a software I often want to compare my configuration with the configuration of the new version. To make this possible atuin can now print the default configuration. This also updates the example files with the actual values used as default in the settings.rs files. * Changed command name to 'default-config' * Fixed merge --- atuin-server/server.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'atuin-server/server.toml') diff --git a/atuin-server/server.toml b/atuin-server/server.toml index 808f15f1..3aed7f9d 100644 --- a/atuin-server/server.toml +++ b/atuin-server/server.toml @@ -9,3 +9,16 @@ ## URI for postgres (using development creds here) # db_uri="postgres://username:password@localhost/atuin" + +## Maximum size for one history entry +# max_history_length = 8192 + +## Maximum size for one record entry +## 1024 * 1024 * 1024 +# max_record_size = 1073741824 + +## Webhook to be called when user registers on the servers +# register_webhook_username = "" + +## Default page size for requests +# page_size = 1100 -- cgit v1.3.1