Explicitly cast some parameters from DCS to int (ttl, loop_wait, etc...)

This commit is contained in:
Alexander Kukushkin
2016-05-31 15:51:49 +02:00
parent e10873dd9c
commit 1c2e1755cb
+1 -1
View File
@@ -142,7 +142,7 @@ class Config(object):
elif name not in ('connect_address', 'listen', 'data_dir', 'pgpass', 'authentication'):
config['postgresql'][name] = deepcopy(value)
elif name in config:
config[name] = value
config[name] = int(value)
return config
def _build_effective_configuration(self, dynamic_configuration, local_configuration):