mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-09 06:22:29 +08:00
Merge remote-tracking branch 'origin/v2' into v2
This commit is contained in:
@@ -46,7 +46,7 @@ class Site(Base):
|
|||||||
# 流控间隔
|
# 流控间隔
|
||||||
limit_seconds = Column(Integer, default=0)
|
limit_seconds = Column(Integer, default=0)
|
||||||
# 超时时间
|
# 超时时间
|
||||||
timeout = Column(Integer, default=0)
|
timeout = Column(Integer, default=15)
|
||||||
# 是否启用
|
# 是否启用
|
||||||
is_active = Column(Boolean(), default=True)
|
is_active = Column(Boolean(), default=True)
|
||||||
# 创建时间
|
# 创建时间
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class Site(BaseModel):
|
|||||||
# 备注
|
# 备注
|
||||||
note: Optional[Any] = None
|
note: Optional[Any] = None
|
||||||
# 超时时间
|
# 超时时间
|
||||||
timeout: Optional[int] = 0
|
timeout: Optional[int] = 15
|
||||||
# 流控单位周期
|
# 流控单位周期
|
||||||
limit_interval: Optional[int] = None
|
limit_interval: Optional[int] = None
|
||||||
# 流控次数
|
# 流控次数
|
||||||
|
|||||||
Reference in New Issue
Block a user