Commit 98d7aa3f by imwangxiaozhou

perf(企业微信服务): 调整默认分页大小为50

修改企业微信同步服务与客户群编排服务的默认分页参数,从100调整为50以优化性能表现
1 parent 7ebe7fa2
......@@ -186,7 +186,7 @@ class WeComCustomerGroupOrchestrationService:
sync_service: WeComSyncService,
batch_dispatcher: Any | None = None,
webhook_notifier: WeComWebhookNotifier | None = None,
page_size: int = 100,
page_size: int = 50,
) -> None:
self.db = db
self.client = client
......
......@@ -131,7 +131,7 @@ class WeComSyncService:
db: Session,
client: WeComSyncClient,
dispatcher: WeComMessageDispatcher | None = None,
page_size: int = 100,
page_size: int = 50,
) -> None:
self.db = db
self.client = client
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!