Skip to content

Commit

Permalink
increase connection limit for each retryCall on ivr cron
Browse files Browse the repository at this point in the history
  • Loading branch information
rasoro committed Oct 8, 2021
1 parent 563b470 commit 0789b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tasks/ivr/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func retryCalls(ctx context.Context, rt *runtime.Runtime, lockName string, lockV
ctx, cancel := context.WithTimeout(ctx, time.Minute*10)
defer cancel()

conns, err := models.LoadChannelConnectionsToRetry(ctx, rt.DB, 100)
conns, err := models.LoadChannelConnectionsToRetry(ctx, rt.DB, 200)
if err != nil {
return errors.Wrapf(err, "error loading connections to retry")
}
Expand Down

0 comments on commit 0789b0c

Please sign in to comment.