Merge pull request #3165 from InfinityPacer/feature/module

This commit is contained in:
jxxghp
2024-11-19 12:24:37 +08:00
committed by GitHub
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
# 流控次数