Stephen Mallette created TINKERPOP-2807:
-------------------------------------------

             Summary: heartbeat setting to AiohttpTransport does not prevent 
the idle connections from being closed
                 Key: TINKERPOP-2807
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2807
             Project: TinkerPop
          Issue Type: Bug
          Components: driver
    Affects Versions: 3.5.4
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


Setting {{heartbeat}} like this:

{code}
Client('ws://localhost:45940/gremlin', 'g', 
    transport_factory=lambda: transport.AiohttpTransport(heartbeat=5.0))
{code}

should send a ping message to the server to keep the connection alive but it 
clearly does not.  Manual testing shows Gremlin Server closing the connection 
as idle despite this setting.

For more information on the setting see: 
https://docs.aiohttp.org/en/stable/client_reference.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to