mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
fix(api): fix connection closing issue for event subscription
The previous implementation does not close the connection once `WORKFLOW_PAUSED` event is met, which breaks the contract with frontend.
This commit is contained in:
@ -8,13 +8,13 @@ from core.workflow.nodes.human_input.entities import (
|
||||
EmailRecipients,
|
||||
ExternalRecipient,
|
||||
)
|
||||
from core.workflow.runtime import VariablePool
|
||||
from services import human_input_delivery_test_service as service_module
|
||||
from services.human_input_delivery_test_service import (
|
||||
DeliveryTestContext,
|
||||
DeliveryTestError,
|
||||
EmailDeliveryTestHandler,
|
||||
)
|
||||
from core.workflow.runtime import VariablePool
|
||||
|
||||
|
||||
def _make_email_method() -> EmailDeliveryMethod:
|
||||
|
||||
Reference in New Issue
Block a user