MonetDB / pymonetdb

The Python API for MonetDB
https://www.monetdb.org/
Mozilla Public License 2.0
28 stars 20 forks source link

Enable TCP_KEEPALIVE to keep consistent with stream.c #34

Closed semigodking closed 5 years ago

semigodking commented 5 years ago

In stream.c, TCP keepalive is enabled. But it is not in client side. When client is running in docker swarm, long idle is broken by docker swarm and pymonetdb client can not detect broken connection.