mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
avoid time slice strategy in community edition
This commit is contained in:
@ -139,6 +139,7 @@ class WorkflowScheduleCFSPlanEntity(BaseModel):
|
||||
"""
|
||||
|
||||
TimeSlice = "time-slice" # time-slice based plan
|
||||
Nop = "nop" # no plan, just run the workflow
|
||||
|
||||
schedule_strategy: Strategy
|
||||
granularity: int = Field(default=-1) # -1 means infinite
|
||||
|
||||
Reference in New Issue
Block a user