quintanar401 / connect-kdb-q

Query execution support for KDB-Q in Atom
MIT License
7 stars 5 forks source link

Connection dropping #22

Closed joel23888 closed 6 years ago

joel23888 commented 6 years ago

I have had connections from connect-kdb-q to a remote q process drop after some idle time. The corporate firewall I have to be behind does this after 30 minutes. Is there any way to configure connect-kdb-q so it will send a TCP keepalive packet every x minutes?

quintanar401 commented 6 years ago

Currently no. Try to add

@client.setKeepAlive(true, 1000)

in onConn function (line 611) in c.coffee

to see if it helps.

joel23888 commented 6 years ago

My network team configured this on the server side, but I did also try your suggestion prior to this and it seemed to work.