feat: Change default event delivery method to streaming (#7851)

feat: change default event delivery method from polling to streaming
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-05-04 21:25:59 -03:00 committed by GitHub
commit 910720db00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -242,7 +242,7 @@ class Settings(BaseSettings):
public_flow_expiration: int = Field(default=86400, gt=600)
"""The time in seconds after which a public temporary flow will be considered expired and eligible for cleanup.
Default is 24 hours (86400 seconds). Minimum is 600 seconds (10 minutes)."""
event_delivery: Literal["polling", "streaming", "direct"] = "polling"
event_delivery: Literal["polling", "streaming", "direct"] = "streaming"
"""How to deliver build events to the frontend. Can be 'polling', 'streaming' or 'direct'."""
lazy_load_components: bool = False
"""If set to True, Langflow will only partially load components at startup and fully load them on demand.