update file

This commit is contained in:
C菌
2022-04-28 20:40:16 +08:00
parent f810b7bc91
commit 93f354370a
13 changed files with 75 additions and 132 deletions

View File

@@ -5,7 +5,7 @@ server:
data:
database:
driver: mysql
source: root:root@tcp(127.0.0.1:3306)/test
source: tinyurl:tinyurl@tcp(127.0.0.1:3306)/tinyurl?charset=utf8mb4&parseTime=True&loc=Local
redis:
addr: 127.0.0.1:6379
read_timeout: 0.2s
@@ -16,8 +16,8 @@ log:
development: true
rotate:
filename: ./app.log
maxsize: 10
maxage: 7
maxbackups:
localtime:
compress:
maxsize: 10 #Mb
maxage: 7 #day
# maxbackups:
# localtime:
# compress: