Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2807

heartbeat setting to AiohttpTransport does not prevent the idle connections from being closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 3.5.4
    • None
    • driver
    • None

    Description

      Setting heartbeat like this:

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

      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

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: