satellite/payments: increase batch size for transactions and account balance loops
Change-Id: I44712d26abde6c405ced35f103d1581423092737
This commit is contained in:
parent
6c6e2eb8b3
commit
da58dc4a7a
@ -138,7 +138,7 @@ func (service *Service) Accounts() payments.Accounts {
|
||||
func (service *Service) updateTransactionsLoop(ctx context.Context) (err error) {
|
||||
defer mon.Task()(&ctx)(&err)
|
||||
|
||||
const limit = 25
|
||||
const limit = 100
|
||||
before := time.Now()
|
||||
|
||||
txsPage, err := service.db.Transactions().ListPending(ctx, 0, limit, before)
|
||||
@ -229,7 +229,7 @@ func (service *Service) updateTransactions(ctx context.Context, ids TransactionA
|
||||
func (service *Service) updateAccountBalanceLoop(ctx context.Context) (err error) {
|
||||
defer mon.Task()(&ctx)(&err)
|
||||
|
||||
const limit = 25
|
||||
const limit = 100
|
||||
before := time.Now()
|
||||
|
||||
txsPage, err := service.db.Transactions().ListUnapplied(ctx, 0, limit, before)
|
||||
|
Loading…
Reference in New Issue
Block a user