querymanager/config.cfg.dist
fusion32 0ff6217227 add include path for PostgreSQL + overall cleanup
Some distributions place libpq headers under /usr/include/postgresql
which is why it's added to the include path. And even though we don't
support it yet, the same happens with MariaDB, with headers being
placed under /usr/include/mariadb.
2025-10-19 19:17:37 -03:00

42 lines
1.4 KiB
Plaintext

# 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 = ""
PostgreSQL.Port = ""
PostgreSQL.DBName = "tibia"
PostgreSQL.User = "tibia"
PostgreSQL.Password = ""
PostgreSQL.ConnectTimeout = ""
PostgreSQL.ApplicationName = "QueryManager"
PostgreSQL.SSLMode = ""
PostgreSQL.SSLRootCert = ""
PostgreSQL.MaxCachedStatements = 100
# MariaDB Config
MariaDB.Host = "localhost"
MariaDB.Port = "3306"
MariaDB.DBName = "tibia"
MariaDB.User = "tibia"
MariaDB.Password = ""
MariaDB.UnixSocket = ""
MariaDB.MaxCachedStatements = 100
# Connection Config
QueryManagerPort = 7173
QueryManagerPassword = "a6glaf0c"
QueryWorkerThreads = 1
QueryBufferSize = 1M
QueryMaxAttempts = 3
MaxConnections = 25
MaxConnectionIdleTime = 5m