perf: expand gateway capacity and prevent receipt replay
This commit is contained in:
@@ -46,6 +46,9 @@ func (o *Outbox) Run(ctx context.Context) error {
|
||||
if err := o.ensureGroup(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
if o.BatchEnabled {
|
||||
return o.runBatches(ctx)
|
||||
}
|
||||
pool := newCallbackPool(ctx, o, o.concurrency())
|
||||
defer pool.wait()
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user