aboutsummaryrefslogtreecommitdiff
path: root/config.cfg
blob: 076c53536fe9ab78eafc485faa39ce106576d92b (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
24
25
26
27
28
29
30
31
32
33
34
35
36
# HostCache Config
MaxCachedHostNames              = 100
HostNameExpireTime              = 30m

# SQLite Config
SQLite.File                     = "tibia.db"
SQLite.MaxCachedStatements      = 100

# PostgreSQL Config
#PostgreSQL.UnixSocket           = ""
#PostgreSQL.Host                 = "localhost"
#PostgreSQL.Port                 = 5432
#PostgreSQL.User                 = "postgres"
#PostgreSQL.Password             = ""
#PostgreSQL.Database             = "tibia"
#PostgreSQL.TLS                  = true
#PostgreSQL.MaxCachedStatements  = 100

# MySQL/MariaDB Config
#MySQL.UnixSocket                = ""
#MySQL.Host                      = "localhost"
#MySQL.Port                      = 3306
#MySQL.User                      = "mysql"
#MySQL.Password                  = ""
#MySQL.Database                  = "tibia"
#MySQL.TLS                       = true
#MySQL.MaxCachedStatements       = 100

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