feat(site): set default site timeout to 15 seconds

This commit is contained in:
InfinityPacer
2024-11-19 11:10:01 +08:00
parent 79c637e003
commit 96b4f1b575
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class Site(Base):
# 流控间隔
limit_seconds = Column(Integer, default=0)
# 超时时间
timeout = Column(Integer, default=0)
timeout = Column(Integer, default=15)
# 是否启用
is_active = Column(Boolean(), default=True)
# 创建时间

View File

@@ -35,7 +35,7 @@ class Site(BaseModel):
# 备注
note: Optional[Any] = None
# 超时时间
timeout: Optional[int] = 0
timeout: Optional[int] = 15
# 流控单位周期
limit_interval: Optional[int] = None
# 流控次数