aboutsummaryrefslogtreecommitdiff
path: root/config.cfg
blob: e2c77d36644b57fad7f760be839d37aa5d3ec568 (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
37
38
39
40
41
42
43
# HostCache Config
MaxCachedHostNames              = 100
HostNameExpireTime              = 30m

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

# PostgreSQL Config
# NOTE(fusion): These options are passed directly to `PQconnectdbParams`.
# Empty values are ignored, meaning their defaults will be used instead.
#  For more information see:
#   https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS
PostgreSQL.Host                 = "localhost"
PostgreSQL.Port                 = "5432"
PostgreSQL.DBName               = "tibia"
PostgreSQL.User                 = "tibia"
#PostgreSQL.Password             = ""
PostgreSQL.Password             = "password"
PostgreSQL.ConnectTimeout       = ""
PostgreSQL.ClientEncoding       = "UTF8"
PostgreSQL.ApplicationName      = "QueryManager"
PostgreSQL.SSLMode              = ""
PostgreSQL.SSLRootCert          = ""
PostgreSQL.MaxCachedStatements  = 100

# MySQL/MariaDB Config
#MySQL.Host                      = "localhost"
#MySQL.Port                      = "3306"
#MySQL.DBName                    = "tibia"
#MySQL.User                      = "tibia"
#MySQL.Password                  = ""
#MySQL.UnixSocket                = ""
#MySQL.MaxCachedStatements       = 100

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