Skip to content

KeepAlive for web workflow #11342

Description

@grgrant

Edit: Supersceded by comment below #11342 (comment) where I tracked down that mDNS is the issue creating the very slow circup sessions

I was troubleshooting some very slow circup sessions so I developed with Claude's help a version of WebWorkflow that honors KeepAllive. circup takes advantage of keep alive.

So the question for discussion is whether or not anyone has thought of enabling KeepAlive (persistent connections) in WebWorkflow and whether there is interest in me posting the PR for people to bang on or should we leave things as they are.

My implementation currently times out after 2s so only a running connection is kept alive.

The changed behavior is one connection could hold until it finished rather than the current interleaving of single requests where a web connection and circup can work concurrently.

I can't say I've tested all cases by any means but I've run for a few hours with the Keep Alive code and circup runs the same as usual and the filesystem operations in Web Workflow work fine. So far nothing I've tried seems to have regressed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions