aboutsummaryrefslogtreecommitdiff
path: root/conf/app.ini
diff options
context:
space:
mode:
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 97e59648..cb87e93c 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -146,6 +146,10 @@ PASSWORD =
SSL_MODE = disable
; For "sqlite3" only, make sure to use absolute path.
PATH = data/gogs.db
+; The maximum open connections of the pool.
+MAX_OPEN_CONNS = 30
+; The maximum idle connections of the pool.
+MAX_IDLE_CONNS = 30
[security]
; Whether to show the install page, set this to "true" to bypass it.
@@ -259,6 +263,10 @@ HOST =
; The value for "Access-Control-Allow-Origin" header, default is not to present.
ACCESS_CONTROL_ALLOW_ORIGIN =
+[lfs]
+; The root path to store LFS objects.
+OBJECTS_PATH = data/lfs-objects
+
[attachment]
; Whether to enabled upload attachments in general.
ENABLED = true
@@ -391,6 +399,16 @@ MAX_SIZE = 100
; Maximum days to keep logger files
MAX_DAYS = 3
+[log.gorm]
+; Whether to enable file rotation.
+ROTATE = true
+; Whether to rotate file every day.
+ROTATE_DAILY = true
+; The maximum file size in MB before next rotate.
+MAX_SIZE = 100
+; The maximum days to keep files.
+MAX_DAYS = 3
+
[cron]
; Enable running cron tasks periodically.
ENABLED = true