fix: 保持后端 assignment 可重试
test / go (pull_request) Successful in 6m15s
test / shell (pull_request) Failing after 13m28s
test / python (pull_request) Failing after 13m29s

This commit is contained in:
2026-09-21 08:44:00 +00:00
parent ace84373f6
commit 906e6a2e18
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ func OpenConsumer(ctx context.Context, manager consumerManager, stream, subjectB
AckPolicy: jetstream.AckExplicitPolicy,
AckWait: 5 * time.Minute,
MaxAckPending: capacity,
MaxDeliver: 20,
MaxDeliver: 1000,
})
if err != nil {
return nil, fmt.Errorf("open %s assignment consumer: %w", backend, err)