2017-06-21 12:23:11 +00:00
|
|
|
# odissey configuration file.
|
2016-11-07 13:25:12 +00:00
|
|
|
#
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-06-21 12:23:11 +00:00
|
|
|
# daemonize no
|
|
|
|
# syslog no
|
|
|
|
# syslog_facility "daemon"
|
|
|
|
# syslog_ident "odissey"
|
|
|
|
# pid_file "./odissey.pid"
|
|
|
|
# log_file "./odissey.log"
|
2017-06-21 13:04:00 +00:00
|
|
|
log_config yes
|
|
|
|
log_debug no
|
|
|
|
readahead 8192
|
|
|
|
pipelining 16384
|
|
|
|
client_max 100
|
|
|
|
workers 3
|
|
|
|
stats_period 3
|
|
|
|
pooling "transaction"
|
2017-06-02 13:49:20 +00:00
|
|
|
|
2017-06-21 12:23:11 +00:00
|
|
|
listen {
|
|
|
|
host "*"
|
|
|
|
port 6432
|
|
|
|
nodelay yes
|
|
|
|
# backlog 16
|
|
|
|
# keepalive 7200
|
|
|
|
tls_mode "disable"
|
|
|
|
# tls_cert_file ""
|
|
|
|
# tls_key_file ""
|
|
|
|
# tls_ca_file ""
|
|
|
|
# tls_protocols ""
|
|
|
|
}
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-06-21 13:18:42 +00:00
|
|
|
storage "localhost" {
|
2017-06-21 12:23:11 +00:00
|
|
|
host "127.0.0.1"
|
|
|
|
port 5432
|
|
|
|
tls_mode "disable"
|
|
|
|
# tls_ca_file ""
|
|
|
|
# tls_key_file ""
|
|
|
|
# tls_cert_file ""
|
|
|
|
# tls_protocols ""
|
|
|
|
}
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-06-21 13:18:42 +00:00
|
|
|
route default {
|
|
|
|
storage "localhost"
|
2017-06-21 12:40:00 +00:00
|
|
|
cancel yes
|
|
|
|
discard yes
|
|
|
|
rollback yes
|
|
|
|
pool_size 100
|
|
|
|
pool_timeout 4000
|
2017-06-21 13:08:33 +00:00
|
|
|
pool_ttl 5
|
2017-06-21 12:40:00 +00:00
|
|
|
# user "user"
|
|
|
|
# password "test"
|
|
|
|
# database "database"
|
|
|
|
# client_max 100
|
2017-06-21 13:18:42 +00:00
|
|
|
}
|
2017-06-21 12:40:00 +00:00
|
|
|
|
2017-06-21 12:43:20 +00:00
|
|
|
user default {
|
|
|
|
# none, clear_text, md5
|
|
|
|
authentication "none"
|
|
|
|
#password "test"
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|