feat: Change default event delivery method to streaming (#7851)
feat: change default event delivery method from polling to streaming
This commit is contained in:
parent
ef8ff1ed9b
commit
910720db00
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ class Settings(BaseSettings):
|
||||||
public_flow_expiration: int = Field(default=86400, gt=600)
|
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.
|
"""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)."""
|
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'."""
|
"""How to deliver build events to the frontend. Can be 'polling', 'streaming' or 'direct'."""
|
||||||
lazy_load_components: bool = False
|
lazy_load_components: bool = False
|
||||||
"""If set to True, Langflow will only partially load components at startup and fully load them on demand.
|
"""If set to True, Langflow will only partially load components at startup and fully load them on demand.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue