perf(douyu): 限制任务并发并释放长事务连接
This commit is contained in:
@@ -382,6 +382,12 @@ class DouyuTask(Base):
|
||||
"handbook_scope",
|
||||
"id",
|
||||
),
|
||||
Index(
|
||||
"ix_douyu_tasks_created_by_scope_id",
|
||||
"created_by",
|
||||
"handbook_scope",
|
||||
"id",
|
||||
),
|
||||
)
|
||||
|
||||
account: Mapped[Account] = relationship("Account", back_populates="douyu_tasks")
|
||||
|
||||
Reference in New Issue
Block a user