perf(douyu): 限制任务并发并释放长事务连接

This commit is contained in:
yml
2026-11-20 20:16:53 +08:00
parent 5d44ab4ca1
commit 18fd9840f7
16 changed files with 331 additions and 27 deletions
+6
View File
@@ -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")