summaryrefslogtreecommitdiff
path: root/python/skytools/scripting.py
diff options
context:
space:
mode:
authorMarko Kreen2009-11-24 13:55:09 +0000
committerMarko Kreen2009-11-24 13:55:09 +0000
commit0e00bd1e946f0b2153b24bda460b345be0aa79f9 (patch)
treece8b9795223a593d5f90805aa5648b39acaa827f /python/skytools/scripting.py
parentb269094eae644b6bf6843a7933ec5cb60125ce31 (diff)
psycopgwrapper: Activate TCP keepalive on database connections
Turn on keepalive by default, to avoid hanged scripts in case of network problems. Also tune the keepalive timeouts smaller, on Linux at least, so that the error happens after 5 min blackout. (4 min idle + 4x15sec keepalive pings)
Diffstat (limited to 'python/skytools/scripting.py')
0 files changed, 0 insertions, 0 deletions