📄 tshs.cfg
字号:
##### Basic information ######
# Name of the site
tshs.name=旅游自助系统
##### System state settings ######
# The most number of TshsObject instances staying in cache
cache.capacity=1000
# When cache is full, the number that will be remove from cache
cache.once.remove.num=500
# The range of each tshs object ids for id generation
traveldept.start=1
traveldept.end=99
sightspot.start=1000
sightspot.end=9999
travelcorp.start=10000
travelcorp.end=99999
travelgroup.start=100000
travelgroup.end=999999
client.start=1000000
client.end=999999999
##### Database settings #####
# Database name
db.name=mysql
# URL for connecting to database
db.url=jdbc:mysql://localhost:3306/tshs?useUnicode=true&characterEncoding=UTF-8
# backup=&useUnicode=true&characterEncoding=UTF-8
# JDBC Driver
db.driver=com.mysql.jdbc.Driver
# Database username and password
db.username=tshs
db.password=tshs
# Connection pool parameters
# Maximum number of DB connections in pool
db.maxconnections=30
# Maximum time to wait before giving up if all connections in pool are busy (milliseconds)
db.maxwait=5000
# Maximum number of idle connections in pool (-1 = unlimited)
db.maxidle=0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -