MonetDB / pymonetdb

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

add timeout for server connection #22

Closed dfroger closed 7 years ago

dfroger commented 7 years ago

This PR allows to configure the socket timeout when connecting the monetdb server, for both sql.Connection and Control.

Currently, a timeout can be set only once the connection is already established.

gijzelaerr commented 7 years ago

thx @dfroger ! i'll have a look at this.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 87.531% when pulling bdaa8defc35c96e990bac8b6f2c64b7b9868c726 on dfroger:connect_timeout into 385c873c84e77b0326396cdd4f77dff6b310e2de on gijzelaerr:master.