You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enableLog: true # whether to turn on printing of all logs
56
-
maxIdleConns: 3# set the maximum number of connections in the idle connection pool
57
-
maxOpenConns: 100# set the maximum number of open database connections
58
-
connMaxLifetime: 30# sets the maximum time for which the connection can be reused, in minutes
59
-
#slavesDsn: # sets slaves mysql dsn, array type
60
-
# - "your slave dsn 1"
61
-
# - "your slave dsn 2"
62
-
#mastersDsn: # sets masters mysql dsn, array type, non-required field, if there is only one master, there is no need to set the mastersDsn field, the default dsn field is mysql master.
63
-
# - "your master dsn"
64
-
65
-
66
51
# redis settings
67
52
redis:
68
53
# dsn format, [user]:<pass>@127.0.0.1:6379/[db], the default user is default, redis version 6.0 and above only supports user.
enableLog: true # whether to turn on printing of all logs
59
-
maxIdleConns: 3# set the maximum number of connections in the idle connection pool
60
-
maxOpenConns: 100# set the maximum number of open database connections
61
-
connMaxLifetime: 30# sets the maximum time for which the connection can be reused, in minutes
62
-
#slavesDsn: # sets slaves mysql dsn, array type
63
-
# - "your slave dsn 1"
64
-
# - "your slave dsn 2"
65
-
#mastersDsn: # sets masters mysql dsn, array type, non-required field, if there is only one master, there is no need to set the mastersDsn field, the default dsn field is mysql master.
66
-
# - "your master dsn"
67
-
68
-
69
54
# redis settings
70
55
redis:
71
56
# dsn format, [user]:<pass>@127.0.0.1:6379/[db], the default user is default, redis version 6.0 and above only supports user.
enableLog: true # whether to turn on printing of all logs
62
-
maxIdleConns: 3# set the maximum number of connections in the idle connection pool
63
-
maxOpenConns: 100# set the maximum number of open database connections
64
-
connMaxLifetime: 30# sets the maximum time for which the connection can be reused, in minutes
65
-
#slavesDsn: # sets slaves mysql dsn, array type
66
-
# - "your slave dsn 1"
67
-
# - "your slave dsn 2"
68
-
#mastersDsn: # sets masters mysql dsn, array type, non-required field, if there is only one master, there is no need to set the mastersDsn field, the default dsn field is mysql master.
69
-
# - "your master dsn"
70
-
71
-
72
57
# redis settings
73
58
redis:
74
59
# dsn format, [user]:<pass>@127.0.0.1:6379/[db], the default user is default, redis version 6.0 and above only supports user.
0 commit comments