mirror of https://github.com/yandex/odyssey.git
71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
Plaintext
# odissey config file.
|
|
#
|
|
|
|
odissey {
|
|
# daemonize no
|
|
# syslog no
|
|
# syslog_facility "daemon"
|
|
# syslog_ident "odissey"
|
|
# pid_file "./odissey.pid"
|
|
# log_file "./odissey.log"
|
|
|
|
log_config yes
|
|
log_debug no
|
|
pooling "transaction"
|
|
stats_period 3
|
|
readahead 8192
|
|
client_max 100
|
|
workers 1
|
|
|
|
listen {
|
|
host "*"
|
|
port 6432
|
|
nodelay yes
|
|
# backlog 16
|
|
# keepalive 7200
|
|
tls_mode "disable"
|
|
# tls_cert_file ""
|
|
# tls_key_file ""
|
|
# tls_ca_file ""
|
|
# tls_protocols ""
|
|
}
|
|
|
|
server "default" {
|
|
host "127.0.0.1"
|
|
port 5432
|
|
tls_mode "disable"
|
|
# tls_ca_file ""
|
|
# tls_key_file ""
|
|
# tls_cert_file ""
|
|
# tls_protocols ""
|
|
}
|
|
|
|
routing {
|
|
mode "forward"
|
|
"test" {
|
|
server "default"
|
|
ttl 5
|
|
cancel yes
|
|
discard yes
|
|
rollback yes
|
|
# client_max 100
|
|
}
|
|
# default {
|
|
# server "default"
|
|
# user "user"
|
|
# password "test"
|
|
# database "database"
|
|
# client_max 100
|
|
# ttl 120
|
|
# }
|
|
}
|
|
|
|
users {
|
|
default {
|
|
# none, clear_text, md5
|
|
authentication "none"
|
|
#password "test"
|
|
}
|
|
}
|
|
}
|