modify comments in config file

This commit is contained in:
MaysWind
2021-06-21 00:54:14 +08:00
parent f21a7f7134
commit 832d865397
+5 -5
View File
@@ -28,13 +28,13 @@ cert_key_file =
# Unix socket path, for "socket" only # Unix socket path, for "socket" only
unix_socket = unix_socket =
# Static file root path (relative or absolute) # Static file root path (relative or absolute path)
static_root_path = public static_root_path = public
# Enable GZip # Enable GZip
enable_gzip = false enable_gzip = false
# Set to true to log each request and execution times # Set to true to log each request and execution time
log_request = true log_request = true
[database] [database]
@@ -50,7 +50,7 @@ passwd =
# For "postgres" only, Either "disable", "require" or "verify-full" # For "postgres" only, Either "disable", "require" or "verify-full"
ssl_mode = disable ssl_mode = disable
# For "sqlite3" only, absolute path of db file # For "sqlite3" only, db file path (relative or absolute path)
db_path = data/ezbookkeeping.db db_path = data/ezbookkeeping.db
# Max idle connection number, default is 2 # Max idle connection number, default is 2
@@ -62,7 +62,7 @@ max_open_conn = 0
# Max connection lifetime (seconds), default is 14400 (4 hours) # Max connection lifetime (seconds), default is 14400 (4 hours)
conn_max_lifetime = 14400 conn_max_lifetime = 14400
# Set to true to log each sql statement and execution times # Set to true to log each sql statement and execution time
log_query = false log_query = false
# Set to true to automatically update database structure when starting web server # Set to true to automatically update database structure when starting web server
@@ -76,7 +76,7 @@ mode = console file
# Either "debug", "info", "warn", "error", default is "info" # Either "debug", "info", "warn", "error", default is "info"
level = info level = info
# For "file" only, absolute path of log file # For "file" only, log file path (relative or absolute path)
log_path = log/ezbookkeeping.log log_path = log/ezbookkeeping.log
[uuid] [uuid]