Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The issue of being unable to shut down stream #412

Copy link
Copy link
@SuperCoderMan521

Description

@SuperCoderMan521
Issue body actions

Describe the bug
When terminating the stream output, clicking the stop button frequently leads to the stream continuing to render and print. Upon investigation, it was discovered that the EDT (Event Dispatch Thread) is unable to clear historical tasks, causing the consumption endpoint (EDT) to continue processing historical tasks even after the associated upstream delivery endpoint has been shut down. This behavior creates the impression among users that the system cannot be properly terminated.

We propose implementing a mechanism on the EDT consumer side to monitor whether the current latest sessionId matches the sessionId embedded in the historical stream (the historical stream should carry the sessionId status). In the event of any inconsistency, the token can be proactively discarded. This approach may effectively achieve immediate cessation of the stream upon closure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.