mirror of https://github.com/yandex/odyssey.git
82 lines
1.2 KiB
Plaintext
82 lines
1.2 KiB
Plaintext
# odissey configuration file.
|
|
#
|
|
|
|
# daemonize no
|
|
# syslog no
|
|
# syslog_facility "daemon"
|
|
# syslog_ident "odissey"
|
|
# pid_file "./odissey.pid"
|
|
# log_file "./odissey.log"
|
|
log_config yes
|
|
log_debug yes
|
|
log_session yes
|
|
log_statistics 3
|
|
readahead 8192
|
|
pipelining 16384
|
|
client_max 100
|
|
workers 3
|
|
|
|
listen
|
|
{
|
|
host "*"
|
|
port 6432
|
|
nodelay yes
|
|
# backlog 16
|
|
# keepalive 7200
|
|
tls "disable"
|
|
# tls_cert_file ""
|
|
# tls_key_file ""
|
|
# tls_ca_file ""
|
|
# tls_protocols ""
|
|
}
|
|
|
|
storage "local"
|
|
{
|
|
type "local"
|
|
}
|
|
|
|
storage "pg_server"
|
|
{
|
|
type "remote"
|
|
host "127.0.0.1"
|
|
port 5432
|
|
tls "disable"
|
|
# tls_ca_file ""
|
|
# tls_key_file ""
|
|
# tls_cert_file ""
|
|
# tls_protocols ""
|
|
}
|
|
|
|
database "console"
|
|
{
|
|
user default {
|
|
authentication "none"
|
|
pool "session"
|
|
storage "local"
|
|
}
|
|
}
|
|
|
|
database default
|
|
{
|
|
user default {
|
|
# none, block, clear_text, md5
|
|
authentication "none"
|
|
#password "test"
|
|
|
|
storage "pg_server"
|
|
#storage_user "test"
|
|
#storage_password "test"
|
|
#storage_db "database"
|
|
|
|
pool "transaction"
|
|
pool_size 100
|
|
pool_timeout 4000
|
|
pool_ttl 5
|
|
pool_cancel yes
|
|
pool_discard yes
|
|
pool_rollback yes
|
|
|
|
#client_max 100
|
|
}
|
|
}
|