2016-11-07 13:25:12 +00:00
|
|
|
# odissey config file.
|
|
|
|
#
|
2016-11-07 12:06:49 +00:00
|
|
|
|
|
|
|
odissey {
|
2016-12-26 13:16:08 +00:00
|
|
|
log_verbosity 2
|
2016-11-28 13:41:47 +00:00
|
|
|
# log_file "./odissey.log"
|
|
|
|
# pid_file "./odissey.pid"
|
|
|
|
# syslog no
|
|
|
|
# syslog_facility "daemon"
|
|
|
|
# syslog_ident "odissey"
|
2017-01-13 13:00:47 +00:00
|
|
|
# daemonize no
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2016-12-26 13:04:37 +00:00
|
|
|
pooling "transaction"
|
2016-11-07 12:06:49 +00:00
|
|
|
|
|
|
|
listen {
|
2016-12-14 13:45:38 +00:00
|
|
|
host "localhost"
|
2016-11-10 11:53:05 +00:00
|
|
|
port 6432
|
2016-11-30 13:34:41 +00:00
|
|
|
nodelay yes
|
2016-11-28 12:07:34 +00:00
|
|
|
# backlog 16
|
2016-11-28 13:25:05 +00:00
|
|
|
# keepalive 7200
|
2016-11-07 13:04:41 +00:00
|
|
|
client_max 100
|
|
|
|
workers 8
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
|
2016-11-07 14:19:12 +00:00
|
|
|
server "default" {
|
2016-12-13 15:26:37 +00:00
|
|
|
host "127.0.0.1"
|
2016-11-11 11:52:23 +00:00
|
|
|
port 5432
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
routing {
|
2016-11-30 13:34:41 +00:00
|
|
|
mode "forward"
|
2016-11-11 12:26:21 +00:00
|
|
|
"test" {
|
2016-11-07 14:19:12 +00:00
|
|
|
route "default"
|
2016-12-22 13:06:39 +00:00
|
|
|
ttl 5
|
2017-01-20 14:26:03 +00:00
|
|
|
# client_max 100
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
2016-11-11 12:26:21 +00:00
|
|
|
# default {
|
|
|
|
# route "default"
|
|
|
|
# user "user"
|
|
|
|
# database "database"
|
|
|
|
# pool_min 0
|
|
|
|
# pool_max 100
|
|
|
|
# client_max 100
|
2016-11-15 12:07:58 +00:00
|
|
|
# ttl 120
|
2016-11-11 12:26:21 +00:00
|
|
|
# }
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
}
|