feat(conversations): queue bulk actions

This commit is contained in:
2026-06-05 18:16:56 +08:00
parent 530f11bcd8
commit cda7d0266e
6 changed files with 335 additions and 16 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ func Bootstrap(env string) (*App, error) {
// Lane B: AssignableAgent handler (find agents available for assignment)
AssignableAgent: v1.NewAssignableAgentHandler(assignableAgentService),
AgentBulk: v1.NewAgentBulkHandler(conversationService),
BulkAction: v1.NewBulkActionHandler(conversationService, contactService),
BulkAction: v1.NewBulkActionHandler(conversationService, contactService).WithWorkerPool(workerPool),
// Lane C: CSAT template (singular per inbox) + Inbox limits
InboxCsatTemplate: v1.NewInboxCsatTemplateHandler(csatTemplateService),
InboxLimit: v1.NewInboxLimitHandler(inboxLimitService),