aboutsummaryrefslogtreecommitdiff
path: root/config.cfg
blob: 30ca4cd777ec4a74d14caee1a9ef20a2d3e66f7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# HostCache Config
MaxCachedHostNames      = 100
HostNameExpireTime      = 30m

# Database Config
MaxCachedStatements     = 100
DatabaseFile            = "tibia.db"
# TODO(fusion): This is not great. Probably switch to database specific options?
#DatabaseHost            = "localhost"
#DatabasePort            = 5432
#DatabaseUser            = "postgres"
#DatabasePassword        = ""
#DatabaseName            = "tibia"
#DatabaseTLS             = true

# Connection Config
QueryManagerPort        = 7173
QueryManagerPassword    = "a6glaf0c"
QueryWorkerThreads      = 1
QueryBufferSize         = 1M
QueryMaxAttempts        = 3
MaxConnections          = 25
MaxConnectionIdleTime   = 5m